记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:5: error: 'cin' undeclared (first use in this function)
    5 |     cin>>a>>b>>c;
      |     ^~~
foo.c:5:5: note: each undeclared identifier is reported only once for each function it appears in
foo.c:6:12: error: 'cout' undeclared (first use in this function)
    6 |     printf(cout<<a<<""<<b<<""<<c<<endl;//321);
      |            ^~~~
foo.c:6:35: error: 'endl' undeclared (first use in this function)
    6 |     printf(cout<<a<<""<<b<<""<<c<<endl;//321);
      |                                   ^~~~
foo.c:6:39: error: expected ')' before ';' token
    6 |     printf(cout<<a<<""<<b<<""<<c<<endl;//321);
      |           ~                           ^
      |                                       )
foo.c:6:5: error: expected declaration or statement at end of input
    6 |     printf(cout<<a<<""<<b<<""<<c<<endl;//321);
      |     ^~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
比赛
2023年新生赛(第一场)
语言
C
递交时间
2023-08-15 16:25:00
评测时间
2023-08-15 16:25:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes