记录详情

Wrong Answer

foo.c: In function 'Max':
foo.c:33:16: warning: 'max1' may be used uninitialized [-Wmaybe-uninitialized]
   33 |         return max1;
      |                ^~~~
foo.c:27:13: note: 'max1' was declared here
   27 |         int max1;
      |             ^~~~
foo.c: In function 'main':
foo.c:80:19: warning: 'max1' may be used uninitialized [-Wmaybe-uninitialized]
   80 |                 if(b[i]==k2)
      |                   ^
foo.c:27:13: note: 'max1' was declared here
   27 |         int max1;
      |             ^~~~
foo.c:56:19: warning: 'max1' may be used uninitialized [-Wmaybe-uninitialized]
   56 |                 if(a[i]==k1)
      |                   ^
foo.c:27:13: note: 'max1' was declared here
   27 |         int max1;
      |             ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 284.0 KiB
#2 Accepted 1ms 284.0 KiB
#3 Wrong Answer Standard answer longer than user output. 2ms 284.0 KiB
#4 Wrong Answer Standard answer longer than user output. 2ms 284.0 KiB
#5 Wrong Answer Standard answer longer than user output. 1ms 284.0 KiB

信息

递交者
类型
递交
比赛
2023 程序设计与基础(单个的数组)
语言
C
递交时间
2023-11-21 14:18:29
评测时间
2023-11-21 14:18:29
评测机
分数
20
总耗时
10ms
峰值内存
284.0 KiB