编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#3335 | #1007. 这你也敢信? | Compile Error | 0 | 0 ms | 0 K | C++ 17 / 260 B | 197653Zhww | 2023-11-25 14:45:44 |
void
编译信息
/sandbox/1/a.cpp:2:1: error: '::main' must return 'int'
2 | void main()
| ^~~~
/sandbox/1/a.cpp: In function 'int main()':
/sandbox/1/a.cpp:5:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | scanf("%d",&N);
| ~~~~~^~~~~~~~~