Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
335476 李俞家骅 【C2-3】数字和加强版 C++ 通过 100 2 MS 236 KB 174 2025-07-23 09:50:12

Tests(2/2):


#include<bits/stdc++.h> using namespace std; int main(){ int n,i=1,s=0; cin>>n; while(n){ s=s*10+n%10; n/=10; } cout<<s*2+1; return 0; }


测评信息: