记录详情

Compile Error

foo.c: In function ‘main’:
foo.c:3:9: error: ‘cin’ undeclared (first use in this function)
    3 |         cin>>a>>b>>c;
      |         ^~~
foo.c:3:9: note: each undeclared identifier is reported only once for each function it appears in
foo.c:19:5: error: ‘cout’ undeclared (first use in this function)
   19 |     cout<<a<<" "<<b<<" "<<c;
      |     ^~~~
foo.c:19:27: error: ‘c;’ undeclared (first use in this function)
   19 |     cout<<a<<" "<<b<<" "<<c;
      |                           ^~~
foo.c:19:30: error: expected ‘;’ at end of input
   19 |     cout<<a<<" "<<b<<" "<<c;
      |                              ^
      |                              ;
foo.c:19:5: error: expected declaration or statement at end of input
   19 |     cout<<a<<" "<<b<<" "<<c;
      |     ^~~~

信息

递交者
类型
自测
题目
A1-1 分支结构练习:三数排序
语言
C
递交时间
2024-08-17 18:19:42
评测时间
2024-08-17 18:19:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes