记录详情

Compile Error

foo.c: In function ‘main’:
foo.c:6:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scanf’
    6 |         scanf("%d%d%d",&a,&b,&c);
      |         ^~~~~
foo.c:10:17: error: ‘max’ undeclared (first use in this function)
   10 |                 max=a;
      |                 ^~~
foo.c:10:17: note: each undeclared identifier is reported only once for each function it appears in

信息

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