记录详情

Compile Error

foo.c: In function 'function':
foo.c:5:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'for'
    5 |                 for (i = 0; i < m - 1; i++)
      |                 ^~~
foo.c:5:31: warning: statement with no effect [-Wunused-value]
    5 |                 for (i = 0; i < m - 1; i++)
      |                             ~~^~~~~~~
foo.c:5:43: error: expected ';' before ')' token
    5 |                 for (i = 0; i < m - 1; i++)
      |                                           ^
      |                                           ;
foo.c:5:43: error: expected statement before ')' token
foo.c:11:41: error: 't' undeclared (first use in this function)
   11 |                                         t = a[j + 1];
      |                                         ^
foo.c:11:41: note: each undeclared identifier is reported only once for each function it appears in
[Hydro](https://hydro.ac)提供评测服务

信息

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