| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 94594 | 李铭浩 | [在线测评解答教程] 闰年 | C++ | Compile Error | 0 MS | 0 KB | 194 | 2024-10-25 13:22:07 |
int main() { int t, n; scanf("%d", &t); while (t--) { scanf("%d", &n); //在这里写判断 n 是否为闰年的代码及输出结果 } return 0; }
Main.cc: In function 'int main()':
Main.cc:5:19: error: 'scanf' was not declared in this scope
scanf("%d", &t);
^