| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68837 | 杨珞烯 | 04倒序输出五位数 | C++ | Compile Error | 0 MS | 0 KB | 277 | 2024-03-26 16:40:24 |
lude <iostream> using namespace std; int main(){ int a,b,c,d,z,n; cin >> z,a,b,c,d; n = z,a,b,c,d; z = n / 10000; a = n / 1000 % 10; b = n / 100 % 10; c = n / 10 % 10; d = n / 1 % 10; cout << d << c << b << a << z <<endl; return 0; }
Main.cc:1:1: error: 'lude' does not name a type
lude
^
Main.cc: In function 'int main()':
Main.cc:5:5: error: 'cin' was not declared in this scope
cin >> z,a,b,c,d;
^
Main.cc:6:13: warning: right operand of comma operator has no effect [-Wunused-value]
n = z,a,b,c,d;
^
Main.cc:6:15: warning: right operand of comma operator has no effect [-Wunused-value]
n = z,a,b,c,d;
^
Main.cc:6:17: warning: right operand of comma operator has no effect [-Wunused-value]
n = z,a,b,c,d;
^
Main.cc:6:18: warning: right operand of comma operator has no effect [-Wunused-value]
n = z,a,b,c,d;
^
Main.cc:12:2: error: 'cout' was not declared in this scope
cout << d << c << b << a << z <