记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:32:15: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized]
   32 |         cout<<p;
      |               ^
foo.cc:5:25: note: 'p' was declared here
    5 |         int k,n,a[1000],p;
      |                         ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 9999, expect 20801. 4ms 412.0 KiB
#2 Wrong Answer Read 9999, expect 18831. 4ms 412.0 KiB
#3 Wrong Answer Read 9999, expect 10755. 5ms 332.0 KiB
#4 Wrong Answer Read 9999, expect 8093. 4ms 412.0 KiB
#5 Wrong Answer Read 9999, expect 26323. 6ms 412.0 KiB
#6 Wrong Answer Read 9999, expect 20236. 6ms 412.0 KiB
#7 Wrong Answer Read 9999, expect 16966. 7ms 412.0 KiB
#8 Wrong Answer Read 9999, expect 14438. 8ms 412.0 KiB
#9 Wrong Answer Read 9999, expect 12412. 8ms 412.0 KiB
#10 Wrong Answer Read 9999, expect 11215. 8ms 396.0 KiB
#11 Runtime Error Segmentation fault 9ms 412.0 KiB
#12 Runtime Error Segmentation fault 10ms 412.0 KiB
#13 Runtime Error Segmentation fault 11ms 412.0 KiB
#14 Runtime Error Segmentation fault 10ms 412.0 KiB
#15 Runtime Error Segmentation fault 11ms 412.0 KiB
#16 Runtime Error Segmentation fault 6ms 412.0 KiB
#17 Runtime Error Segmentation fault 13ms 412.0 KiB
#18 Runtime Error Segmentation fault 12ms 412.0 KiB
#19 Runtime Error Segmentation fault 5ms 412.0 KiB
#20 Runtime Error Segmentation fault 7ms 412.0 KiB
#21 Runtime Error Segmentation fault 14ms 412.0 KiB
#22 Runtime Error Segmentation fault 14ms 412.0 KiB
#23 Runtime Error Segmentation fault 5ms 412.0 KiB
#24 Runtime Error Segmentation fault 5ms 412.0 KiB
#25 Runtime Error Segmentation fault 16ms 412.0 KiB
#26 Runtime Error Segmentation fault 16ms 420.0 KiB
#27 Runtime Error Segmentation fault 3ms 412.0 KiB
#28 Runtime Error Segmentation fault 5ms 412.0 KiB
#29 Runtime Error Segmentation fault 6ms 412.0 KiB
#30 Runtime Error Segmentation fault 5ms 412.0 KiB
#31 Runtime Error Segmentation fault 5ms 412.0 KiB
#32 Runtime Error Segmentation fault 5ms 412.0 KiB
#33 Runtime Error Segmentation fault 6ms 412.0 KiB
#34 Runtime Error Segmentation fault 7ms 412.0 KiB
#35 Runtime Error Segmentation fault 6ms 412.0 KiB
#36 Runtime Error Segmentation fault 5ms 412.0 KiB
#37 Runtime Error Segmentation fault 5ms 412.0 KiB
#38 Runtime Error Segmentation fault 2ms 412.0 KiB
#39 Runtime Error Segmentation fault 5ms 412.0 KiB
#40 Runtime Error Segmentation fault 3ms 412.0 KiB
#41 Runtime Error Segmentation fault 5ms 412.0 KiB
#42 Runtime Error Segmentation fault 5ms 412.0 KiB
#43 Runtime Error Segmentation fault 6ms 412.0 KiB
#44 Runtime Error Segmentation fault 5ms 412.0 KiB
#45 Runtime Error Segmentation fault 6ms 412.0 KiB
#46 Runtime Error Segmentation fault 4ms 412.0 KiB
#47 Runtime Error Segmentation fault 5ms 412.0 KiB
#48 Runtime Error Segmentation fault 5ms 412.0 KiB
#49 Runtime Error Segmentation fault 5ms 412.0 KiB
#50 Runtime Error Segmentation fault 5ms 412.0 KiB

信息

递交者
类型
递交
题目
P1357 4A 第k小的数
比赛
2023暑期青少年社团(惜别赛)
语言
C++
递交时间
2023-08-24 20:09:39
评测时间
2023-08-24 20:09:39
评测机
分数
0
总耗时
365ms
峰值内存
420.0 KiB