Wrong Answer
foo.c: In function 'FindSecondMax': foo.c:4:25: warning: unused variable 'j' [-Wunused-variable] 4 | int max1,max2,i,j,cnt=0,sum=2,p; | ^ foo.c:45:9: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 45 | printf("%d ",p); | ^~~~~~~~~~~~~~~ foo.c:4:39: note: 'p' was declared here 4 | int max1,max2,i,j,cnt=0,sum=2,p; | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 比赛
- 2023 程序设计与基础(单个的数组)
- 语言
- C
- 递交时间
- 2023-11-21 15:05:43
- 评测时间
- 2023-11-21 15:05:43
- 评测机
- 分数
- 0
- 总耗时
- 9ms
- 峰值内存
- 288.0 KiB