记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:5: error: 'cin' undeclared (first use in this function)
    6 |     cin<<a <<b <<c<<endl;
      |     ^~~
/in/foo.c:6:5: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:6:10: error: 'a' undeclared (first use in this function)
    6 |     cin<<a <<b <<c<<endl;
      |          ^
/in/foo.c:6:14: error: 'b' undeclared (first use in this function)
    6 |     cin<<a <<b <<c<<endl;
      |              ^
/in/foo.c:6:18: error: 'c' undeclared (first use in this function)
    6 |     cin<<a <<b <<c<<endl;
      |                  ^
/in/foo.c:6:21: error: 'endl' undeclared (first use in this function)
    6 |     cin<<a <<b <<c<<endl;
      |                     ^~~~
/in/foo.c:7:10: error: 'd' undeclared (first use in this function)
    7 |     cin<<d;
      |          ^
/in/foo.c:8:9: error: 'cout' undeclared (first use in this function)
    8 |         cout<<c+d endl;
      |         ^~~~
/in/foo.c:8:18: error: expected ';' before 'endl'
    8 |         cout<<c+d endl;
      |                  ^~~~~
      |                  ;

信息

递交者
类型
递交
题目
P1009 contest1-1 时间类Time
比赛
2026-11-13 C++实测1
语言
C
递交时间
2026-11-13 19:25:38
评测时间
2026-11-13 19:25:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes