Runtime Error

foo.cc: In function 'int main()':
foo.cc:18:6: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
      if(a[i]==m)
      ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 318, expect . 1ms 384.0 KiB
#2 Runtime Error Segmentation fault 1ms 384.0 KiB
#3 Wrong Answer Standard answer longer than user output. 1ms 384.0 KiB
#4 Wrong Answer 0a1 > 6 6 1ms 384.0 KiB
#5 Wrong Answer 0a1 > 12 5 1ms 384.0 KiB
#6 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB
#7 Wrong Answer 0a1 > 172 13 1ms 384.0 KiB
#8 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#9 Wrong Answer 0a1 > 990 14 2ms 384.0 KiB
#10 Wrong Answer Standard answer longer than user output. 3ms 416.0 KiB

信息

递交者
类型
递交
题目
P1815 众数
比赛
初二数组专练10.29
语言
C++
递交时间
2021-10-29 20:44:53
评测时间
2021-10-29 20:44:53
评测机
分数
0
总耗时
21ms
峰值内存
416.0 KiB