记录详情

Compile Error

foo.c: In function 'main':
foo.c:15:24: error: 'maxCount' undeclared (first use in this function)
   15 |     int maxNum=list[0];maxCount=1;
      |                        ^~~~~~~~
foo.c:15:24: note: each undeclared identifier is reported only once for each function it appears in
foo.c:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   16 |     for (int i=1;i<n;i++);
      |     ^~~
foo.c:17:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   17 |     {
      |     ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
1-4 最大值的个数
比赛
2023暑期青少年社团(训练赛)
语言
C
递交时间
2023-08-16 16:15:13
评测时间
2023-08-16 16:15:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes