记录详情

Runtime Error

foo.c: In function 'main':
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    8 |  scanf("%d%d",&n,&m);
      |  ^~~~~~~~~~~~~~~~~~~
foo.c:17:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   17 |    scanf("%c",&zhiling);
      |    ^~~~~~~~~~~~~~~~~~~~
foo.c:20:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   20 |    scanf("%d%d",&a,&b);
      |    ^~~~~~~~~~~~~~~~~~~
foo.c:39:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   39 |    scanf("%d",&a);
      |    ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 1a2 > 5 2ms 256.0 KiB
#2 Wrong Answer Read 20, expect 19. 3ms 268.0 KiB
#3 Wrong Answer Read 67, expect 66. 3ms 384.0 KiB
#4 Wrong Answer Read 11, expect 10. 2ms 256.0 KiB
#5 Wrong Answer Read 14, expect 13. 2ms 384.0 KiB
#6 Wrong Answer Read 2, expect 1. 3ms 256.0 KiB
#7 Wrong Answer Read 6, expect 5. 2ms 384.0 KiB
#8 Wrong Answer Read 272, expect 271. 2ms 256.0 KiB
#9 Wrong Answer Read 81, expect 80. 2ms 384.0 KiB
#10 Wrong Answer Read 895, expect 894. 2ms 256.0 KiB
#11 Wrong Answer Read 994, expect 993. 2ms 384.0 KiB
#12 Wrong Answer Read 84, expect 83. 5ms 256.0 KiB
#13 Wrong Answer 459a460,909 > 5741 > 5741 > 2ms 256.0 KiB
#14 Wrong Answer Read 4278, expect 4277. 3ms 256.0 KiB
#15 Wrong Answer Read 3634, expect 3633. 5ms 384.0 KiB
#16 Runtime Error Segmentation fault 2ms 384.0 KiB
#17 Runtime Error Segmentation fault 2ms 384.0 KiB
#18 Runtime Error Segmentation fault 1ms 384.0 KiB
#19 Runtime Error Segmentation fault 3ms 384.0 KiB
#20 Runtime Error Segmentation fault 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1347 2B Chtholly
语言
C
递交时间
2022-04-12 22:39:21
评测时间
2022-04-12 22:39:21
评测机
分数
0
总耗时
61ms
峰值内存
384.0 KiB