记录详情

Compile Error

foo.c: In function 'findmax':
foo.c:3:2: error: 'max' undeclared (first use in this function)
    3 | {max=a[0];
      |  ^~~
foo.c:3:2: note: each undeclared identifier is reported only once for each function it appears in
foo.c:7:12: error: expected ';' before '}' token
    7 |  return max
      |            ^
      |            ;
    8 | }
      | ~           
foo.c:8:1: warning: control reaches end of non-void function [-Wreturn-type]
    8 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
1-4 最大值的个数
语言
C
递交时间
2023-11-21 14:08:29
评测时间
2023-11-21 14:08:29
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes