| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68705 | 揭伟琦 | 04倒序输出五位数 | C++ | Compile Error | 0 MS | 0 KB | 212 | 2024-03-24 13:38:43 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >>n; int a=n%10; int b=n/10%10; int c=n/100%10; int d=n/1000%10; int e=n/10000%10; cout <<a<<d<<c<<b<<e endl; return 0; }
Main.cc: In function 'int main()': Main.cc:11:23: error: expected ';' before 'endl' cout <