| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 67882 | 胡盛哲 | 04四位数移位 | C++ | Compile Error | 0 MS | 0 KB | 207 | 2024-03-17 15:39:49 |
#include<iostream> using namespace std; int main (){ int n; cin >> n; int g = n % 10; int s = n / 10 % 10; int b = n / 100 % 10; int q = n / 1000 % 10; cout << g<<b<<q<<s; endl return 0; }
Main.cc: In function 'int main()':
Main.cc:11:2: error: expected ';' before 'return'
return 0;
^
Main.cc:11:10: error: statement cannot resolve address of overloaded function
return 0;
^