| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78288 | 令狐文丽 | [在线测评解答教程] 闰年 | C++ | Compile Error | 0 MS | 0 KB | 152 | 2024-06-17 19:50:54 |
#include<iostream> #include<cstdio> using namespace std; int main(){ int a,b; scanf("%3d%1d",a,b); cout<<b<<a<<ebdl; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
scanf("%3d%1d",a,b);
^
Main.cc:6:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=]
Main.cc:7:17: error: 'ebdl' was not declared in this scope
cout<