记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:4:2: error: 'inta' undeclared (first use in this function)
 {inta,b,c,max;
  ^~~~
/in/foo.c:4:2: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:4:7: error: 'b' undeclared (first use in this function)
 {inta,b,c,max;
       ^
/in/foo.c:4:6: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 {inta,b,c,max;
      ^
/in/foo.c:4:9: error: 'c' undeclared (first use in this function)
 {inta,b,c,max;
         ^
/in/foo.c:4:8: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 {inta,b,c,max;
        ^
/in/foo.c:4:11: error: 'max' undeclared (first use in this function)
 {inta,b,c,max;
           ^~~
/in/foo.c:4:10: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 {inta,b,c,max;
          ^
/in/foo.c:5:18: error: 'a' undeclared (first use in this function)
  scanf("%d%d%d",&a,&b,&c);
                  ^

信息

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