| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 134480 | 田紫萱 | 04四位数移位 | C++ | Compile Error | 0 MS | 0 KB | 150 | 2025-10-27 17:15:53 |
#include <iostream> using namespace std; int main(){ int a,b,c,d; scanf("%1d%1d%1d%1d",&a,&b,&c,&d); cout<<d<<a<<b<<c<<endl; return 0;
Main.cc: In function 'int main()':
Main.cc:7:13: error: expected '}' at end of input
return 0;
^
Main.cc:5:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%1d%1d%1d%1d",&a,&b,&c,&d);
^