Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
345131 王铖渝 【C3-4】空心菱形 C++ 解答错误 0 4 MS 248 KB 252 2025-08-29 16:03:47

Tests(0/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; }


测评信息: