Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
114096 | 陈淮遇 | 04倒序输出五位数 | C++ | Compile Error | 0 MS | 0 KB | 283 | 2025-03-20 21:35:12 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,e,f,g,h,i; cin>>a;//12345 b=a/10;//1234 c=a%10;//5 d=b/10;//123 e=b%10;//4 f=d%10;//3 g=d/10;//2 h=d/10;//12 i=h/10;//1 cout<<c<<e<<f<<g<<i; return 0;
Main.cc: In function 'int main()': Main.cc:15:15: error: expected '}' at end of input return 0; ^