记录详情

Runtime Error

foo.c: In function 'main':
foo.c:21:35: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
   21 |                {if(a[p]!=a[q]) sum++;
      |                                ~~~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 159, expect 170. 4ms 256.0 KiB
#2 Wrong Answer Read 159, expect 170. 8ms 512.0 KiB
#3 Wrong Answer Read 159, expect 170. 2ms 256.0 KiB
#4 Wrong Answer Read 159, expect 170. 1ms 256.0 KiB
#5 Wrong Answer Read 159, expect 170. 2ms 256.0 KiB
#6 Wrong Answer Read 159, expect 170. 2ms 252.0 KiB
#7 Wrong Answer Read 159, expect 170. 1ms 256.0 KiB
#8 Wrong Answer Read 159, expect 170. 2ms 256.0 KiB
#9 Wrong Answer Read 159, expect 170. 2ms 256.0 KiB
#10 Wrong Answer Read 159, expect 170. 1ms 256.0 KiB
#11 Wrong Answer Read 159, expect 170. 1ms 256.0 KiB
#12 Wrong Answer Read 159, expect 170. 1ms 256.0 KiB
#13 Wrong Answer Read 159, expect 170. 2ms 256.0 KiB
#14 Wrong Answer Read 159, expect 170. 2ms 256.0 KiB
#15 Wrong Answer Read 159, expect 170. 1ms 256.0 KiB
#16 Runtime Error Segmentation fault 42ms 1.492 MiB
#17 Runtime Error Segmentation fault 46ms 1.492 MiB
#18 Runtime Error Segmentation fault 71ms 1.492 MiB
#19 Runtime Error Segmentation fault 70ms 1.492 MiB
#20 Runtime Error Segmentation fault 80ms 1.492 MiB
#21 Runtime Error Segmentation fault 60ms 1.492 MiB
#22 Runtime Error Segmentation fault 39ms 1.492 MiB
#23 Runtime Error Segmentation fault 58ms 1.492 MiB
#24 Runtime Error Segmentation fault 73ms 1.492 MiB
#25 Runtime Error Segmentation fault 64ms 1.492 MiB
#26 Runtime Error Segmentation fault 63ms 1.492 MiB
#27 Runtime Error Segmentation fault 76ms 1.492 MiB
#28 Runtime Error Segmentation fault 77ms 1.492 MiB
#29 Runtime Error Segmentation fault 78ms 1.492 MiB
#30 Runtime Error Segmentation fault 39ms 1.492 MiB

信息

递交者
类型
递交
题目
P1390 Problem 1B. 完全参差序列
比赛
悬赏令第一周
语言
C
递交时间
2022-09-29 18:54:30
评测时间
2022-09-29 18:54:30
评测机
分数
0
总耗时
983ms
峰值内存
1.492 MiB