Compile Error
/in/foo.cc:29:2: error: expected '}' at end of input 29 | } | ^ /in/foo.cc:3:11: note: to match this '{' 3 | class Time{ | ^ /in/foo.cc: In member function 'int Time::main()': /in/foo.cc:24:13: error: expected ';' before 'num' 24 | cin num; | ^~~ /in/foo.cc:24:9: warning: statement has no effect [-Wunused-value] 24 | cin num; | ^~~ /in/foo.cc: At global scope: /in/foo.cc:29:2: error: expected unqualified-id at end of input 29 | } | ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1000 OO1-1 时间类Time
- 语言
- C++
- 递交时间
- 2025-03-14 18:43:27
- 评测时间
- 2025-03-14 18:43:28
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes