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 344.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 0a1,3 > 78 10 > 83 10 > 85 1ms 384.0 KiB
#7 Wrong Answer Standard answer longer than user output. 1ms 384.0 KiB
#8 Wrong Answer 0a1 > 333 16 2ms 384.0 KiB
#9 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#10 Wrong Answer 0a1 > 174 19 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1815 众数
语言
C++
递交时间
2021-10-30 11:56:48
评测时间
2021-10-30 11:56:48
评测机
分数
0
总耗时
20ms
峰值内存
384.0 KiB