记录详情

Wrong Answer

foo.c: In function 'findmax':
foo.c:33:13: warning: unused variable 'i' [-Wunused-variable]
   33 |         int i=0;
      |             ^
foo.c: In function 'min2':
foo.c:23:16: warning: 'i' is used uninitialized [-Wuninitialized]
   23 |         while(a[i]!=0)
      |                ^
foo.c:21:13: note: 'i' was declared here
   21 |         int i;
      |             ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 4, expect 2. 2ms 284.0 KiB
#2 Wrong Answer Read 8, expect 4. 2ms 284.0 KiB
#3 Wrong Answer Read 8, expect 4. 2ms 332.0 KiB
#4 Wrong Answer Read 16, expect 8. 1ms 284.0 KiB
#5 Accepted 2ms 284.0 KiB

信息

递交者
类型
递交
题目
A9-5 数组中最小值的个数
比赛
2023 程序设计与竞赛(作业5:从数组看集体)
语言
C
递交时间
2023-10-21 16:35:01
评测时间
2023-10-21 16:35:01
评测机
分数
20
总耗时
10ms
峰值内存
332.0 KiB