记录详情

Compile Error

foo.cc: In function ‘int main()’:
foo.cc:7:14: error: ‘a’ was not declared in this scope
    7 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |              ^
foo.cc:7:17: error: ‘b’ was not declared in this scope
    7 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |                 ^
foo.cc:7:20: error: ‘c’ was not declared in this scope
    7 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |                    ^
foo.cc:7:23: error: ‘d’ was not declared in this scope
    7 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |                       ^
foo.cc:7:26: error: ‘e’ was not declared in this scope
    7 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |                          ^
foo.cc:7:29: error: ‘f’ was not declared in this scope
    7 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |                             ^
foo.cc:7:32: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
    7 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |                                ^
      |                                tm
foo.cc:33:24: error: expected ‘;’ before ‘}’ token
   33 |         return 0
      |                 ^       
      |                        ;
......
   36 | }
      | ~                

信息

递交者
类型
递交
题目
P1007 OO1-5 日期时间类DateTime
语言
C++
递交时间
2024-08-13 23:35:36
评测时间
2024-08-13 23:35:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes