记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:50:7: error: expected ';' before 't1'
  time t1(hr, mr, sr);
       ^~
/in/foo.cc:50:21: warning: statement is a reference, not call, to function 'time' [-Waddress]
  time t1(hr, mr, sr);
                     ^
/in/foo.cc:50:21: warning: statement has no effect [-Wunused-value]
/in/foo.cc:52:2: error: 't1' was not declared in this scope
  t1.sum(numr);
  ^~

信息

递交者
类型
自测
语言
C++
递交时间
2019-03-16 09:44:59
评测时间
2019-03-16 09:44:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes