记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
     scanf("%d%d%d",&a,&b,&c);
     ^~~~~
/in/foo.c:9:9: error: 'c' undeclared (first use in this function)
     if (c>max)
         ^
/in/foo.c:9:9: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:15:18: error: expected identifier before '(' token
     if (a!=max)&&(a!=min) mid=a;
                  ^
/in/foo.c:16:18: error: expected identifier before '(' token
     if (b!=max)&&(b!=min) mid=b;
                  ^
/in/foo.c:17:18: error: expected identifier before '(' token
     if (c!=max)&&(c!=min) mid=c;
                  ^

信息

递交者
类型
递交
题目
A1-2 分支结构练习:三数的特征值
语言
C
递交时间
2024-01-27 17:15:54
评测时间
2024-01-27 17:15:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes