Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:5:5: error: expected initializer before 'cin'
5 | cin >> x;
| ^~~
/in/foo.cc:6:12: error: 'y' was not declared in this scope
6 | cin >> y;
| ^
/in/foo.cc:4:9: warning: unused variable 'x' [-Wunused-variable]
4 | int x,y
| ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1000 A+B Problem
- 语言
- C++
- 递交时间
- 2026-11-13 18:56:23
- 评测时间
- 2026-11-13 18:56:23
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes