Compile Error
foo.c:2:6: warning: return type of 'main' is not 'int' [-Wmain] void main(){ ^~~~ foo.c: In function 'main': foo.c:16:1: error: 'cout' undeclared (first use in this function) cout << z; ^~~~ foo.c:16:1: note: each undeclared identifier is reported only once for each function it appears in foo.c:4:1: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1066 阶段测验2-3
- 语言
- C
- 递交时间
- 2021-08-10 16:17:04
- 评测时间
- 2021-08-10 16:17:04
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes