Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:45:7: error: expected ';' before 't1' time t1(a,b,c); ^~ /in/foo.cc:45:16: warning: statement is a reference, not call, to function 'time' [-Waddress] time t1(a,b,c); ^ /in/foo.cc:45:16: warning: statement has no effect [-Wunused-value] /in/foo.cc:46:2: error: 't1' was not declared in this scope t1.add(d); ^~
信息
- 递交者
- 类型
- 递交
- 题目
- P1000 OO1-1 时间类Time
- 语言
- C++
- 递交时间
- 2024-03-14 18:44:34
- 评测时间
- 2024-03-14 18:44:34
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes