Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:28:13: error: redeclaration of 'int x'
28 | int x=time2-time1;
| ^
/in/foo.cc:21:13: note: 'int x' previously declared here
21 | int x;
| ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1001 OO1-2 时间类Time
- 语言
- C++
- 递交时间
- 2025-03-14 18:38:16
- 评测时间
- 2025-03-14 18:38:16
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes