Compile Error
foo.cc: In function 'int main()': foo.cc:5:11: error: expected unqualified-id before ';' token 5 | int a,b,; | ^ foo.cc:7:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=] 7 | printf("%d,%d",&b,&a); | ~^ ~~ | | | | int int* | %n foo.cc:7:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int*' [-Wformat=] 7 | printf("%d,%d",&b,&a); | ~^ ~~ | | | | int int* | %n
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1009 数据交换
- 语言
- C++
- 递交时间
- 2023-11-04 11:47:00
- 评测时间
- 2023-11-04 11:47:00
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes