Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:18:8: error: expected ';' before 'X' time X; ^ /in/foo.cc:18:9: warning: statement is a reference, not call, to function 'time' [-Waddress] time X; ^ /in/foo.cc:18:9: warning: statement has no effect [-Wunused-value] /in/foo.cc:19:8: error: 'X' was not declared in this scope cin>>X.hour1>>X.min1>>X.sec1; ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1001 OO1-2 时间类Time
- 语言
- C++
- 递交时间
- 2021-06-22 11:46:09
- 评测时间
- 2021-06-22 11:46:09
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes