记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:2: error: 'cin' undeclared (first use in this function)
  cin>>a>>b>>c;
  ^~~
/in/foo.c:6:2: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:9:4: error: 'cout' undeclared (first use in this function)
    cout<<a<<"<"<<b<<"<"<<c<<end|;   //1 2 3
    ^~~~
/in/foo.c:9:29: error: 'end' undeclared (first use in this function)
    cout<<a<<"<"<<b<<"<"<<c<<end|;   //1 2 3
                             ^~~
/in/foo.c:9:33: error: expected expression before ';' token
    cout<<a<<"<"<<b<<"<"<<c<<end|;   //1 2 3
                                 ^
/in/foo.c:13:34: error: expected expression before ';' token
     cout<<a<<"<"<<c<<"<"<<b<<end|; //1 3 2
                                  ^
/in/foo.c:23:34: error: expected expression before ';' token
     cout<<b<<"<"<<c<<"<"<<a<<end|; //3 1 2
                                  ^
/in/foo.c:5:13: warning: unused variable 'min' [-Wunused-variable]
  int a,b,c, min;
             ^~~

信息

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