Wrong Answer

foo.cc: In function 'int main()':
foo.cc:21:37: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
   21 |                                 a[j]=x;
      |                                 ~~~~^~
foo.cc:18:37: note: 'x' was declared here
   18 |                                 int x;
      |                                     ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -30, expect 1. 2ms 284.0 KiB
#2 Wrong Answer Read 1, expect 4. 2ms 284.0 KiB
#3 Wrong Answer Read 4, expect 5. 2ms 284.0 KiB
#4 Wrong Answer Read -18, expect 9. 1ms 284.0 KiB
#5 Wrong Answer Read -29, expect 9. 2ms 284.0 KiB

信息

递交者
类型
递交
题目
P1496 粥一飞的随机数
比赛
2023.5.20中级班期中测试赛
语言
C++
递交时间
2023-05-20 09:25:58
评测时间
2023-05-20 09:25:58
评测机
分数
0
总耗时
10ms
峰值内存
284.0 KiB