Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
345130 王铖渝 【C3-5】数值计算 C++ 通过 100 4 MS 244 KB 252 2025-08-29 16:02:33

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int n,t,m=0,c=0; cin>>n; while(n>0){ m=m*10+n%10; n=n/10; c++; } cout<<c<<endl; t=m; while(t>0){ cout<<t%10<<' '; t=t/10; } cout<<endl<<m; return 0; }


测评信息: