Runtime Error

foo.cc: In function 'int main()':
foo.cc:14:6: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
   14 |  a[0]=max;
      |  ~~~~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 1. 2ms 384.0 KiB
#2 Wrong Answer Read 0, expect 2. 5ms 384.0 KiB
#3 Wrong Answer Read 0, expect 3. 7ms 384.0 KiB
#4 Runtime Error Segmentation fault 4ms 384.0 KiB
#5 Runtime Error Segmentation fault 3ms 512.0 KiB

信息

递交者
类型
递交
题目
P1023 几位数
语言
C++
递交时间
2022-07-15 09:31:59
评测时间
2022-07-15 10:00:17
评测机
分数
0
总耗时
23ms
峰值内存
512.0 KiB