Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:14: error: expected ';' before 'n'
6 | scanf n;
| ^~
| ;
/in/foo.cc:6:9: warning: statement is a reference, not call, to function 'scanf' [-Waddress]
6 | scanf n;
| ^~~~~
/in/foo.cc:6:9: warning: statement has no effect [-Wunused-value]
信息
- 递交者
- 类型
- 自测
- 语言
- C++
- 递交时间
- 2025-11-15 14:14:21
- 评测时间
- 2025-11-15 14:14:21
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes