记录详情

Compile Error

foo.cc: In function ‘int main()’:
foo.cc:5:9: error: ‘cin’ was not declared in this scope
    5 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |         ^~~
foo.cc:5:14: error: ‘a’ was not declared in this scope
    5 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |              ^
foo.cc:5:17: error: ‘b’ was not declared in this scope
    5 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |                 ^
foo.cc:5:20: error: ‘c’ was not declared in this scope
    5 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |                    ^
foo.cc:5:23: error: ‘d’ was not declared in this scope
    5 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |                       ^
foo.cc:5:26: error: ‘e’ was not declared in this scope
    5 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |                          ^
foo.cc:5:29: error: ‘f’ was not declared in this scope
    5 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |                             ^
foo.cc:5:32: error: ‘t’ was not declared in this scope
    5 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |                                ^
foo.cc:5:35: error: ‘endl’ was not declared in this scope
    5 |         cin>>a>>b>>c>>d>>e>>f>>t>>endl;
      |                                   ^~~~
foo.cc:30:9: error: ‘cout’ was not declared in this scope
   30 |         cout<<a<<b<<c<<d<<e<<f<<endl;
      |         ^~~~
foo.cc:31:24: error: expected ‘;’ before ‘}’ token
   31 |         return 0
      |                 ^       
      |                        ;
......
   34 | }
      | ~                

信息

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