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 0a1,2 > 14 3 > 18 3 1ms 384.0 KiB
#2 Runtime Error Segmentation fault 1ms 416.0 KiB
#3 Wrong Answer 0a1 > 15 4 1ms 384.0 KiB
#4 Wrong Answer Standard answer longer than user output. 1ms 384.0 KiB
#5 Wrong Answer Standard answer longer than user output. 1ms 404.0 KiB
#6 Wrong Answer 0a1,3 > 78 10 > 83 10 > 85 1ms 384.0 KiB
#7 Wrong Answer 0a1 > 172 13 1ms 384.0 KiB
#8 Wrong Answer 0a1 > 333 16 2ms 384.0 KiB
#9 Wrong Answer 0a1 > 990 14 2ms 384.0 KiB
#10 Wrong Answer Standard answer longer than user output. 3ms 432.0 KiB

信息

递交者
类型
递交
题目
P1815 众数
语言
C++
递交时间
2021-11-06 10:05:57
评测时间
2021-11-06 10:05:57
评测机
分数
0
总耗时
21ms
峰值内存
432.0 KiB