记录详情

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:8:16: error: expected expression before ':' token
         if(b>c):
                ^
/in/foo.c:12:15: warning: implicit declaration of function 'print' [-Wimplicit-function-declaration]
               print(a,c,b)
               ^~~~~
/in/foo.c:13:12: error: expected ';' before 'else'
            else
            ^~~~
/in/foo.c:18:9: error: expected ';' before 'else'
         else
         ^~~~
/in/foo.c:21:6: error: expected ';' before 'else'
      else
      ^~~~
/in/foo.c:5:12: warning: unused variable 'max' [-Wunused-variable]
  int a,b,c,max;
            ^~~

信息

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