| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 75986 | 秦浩然 | 04四位数移位 | C++ | Compile Error | 0 MS | 0 KB | 152 | 2024-06-01 12:00:54 |
#include<iostream> using namespace std; int main(){ int a,b,c,d,; scanf("%3d%5d",&a,&b); return 0; }
Main.cc: In function 'int main()':
Main.cc:5:17: error: expected unqualified-id before ';' token
int a,b,c,d,;
^
Main.cc:5:13: warning: unused variable 'c' [-Wunused-variable]
int a,b,c,d,;
^
Main.cc:5:15: warning: unused variable 'd' [-Wunused-variable]
int a,b,c,d,;
^
Main.cc:6:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%3d%5d",&a,&b);
^