记录详情

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("\n%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 Accepted 2ms 256.0 KiB
#2 Wrong Answer Read 20, expect 19. 3ms 256.0 KiB
#3 Wrong Answer Read 67, expect 66. 2ms 384.0 KiB
#4 Wrong Answer Read 11, expect 10. 3ms 256.0 KiB
#5 Wrong Answer Read 14, expect 13. 1ms 384.0 KiB
#6 Wrong Answer Read 2, expect 1. 2ms 384.0 KiB
#7 Wrong Answer Read 6, expect 5. 1ms 256.0 KiB
#8 Wrong Answer Read 272, expect 271. 2ms 256.0 KiB
#9 Wrong Answer Read 81, expect 80. 2ms 256.0 KiB
#10 Wrong Answer Read 895, expect 894. 3ms 256.0 KiB
#11 Wrong Answer Read 994, expect 993. 2ms 384.0 KiB
#12 Wrong Answer Read 84, expect 83. 5ms 384.0 KiB
#13 Accepted 2ms 384.0 KiB
#14 Wrong Answer Read 4278, expect 4277. 7ms 384.0 KiB
#15 Wrong Answer Read 3634, expect 3633. 6ms 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 2ms 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:53
评测时间
2022-04-12 22:39:53
评测机
分数
10
总耗时
64ms
峰值内存
384.0 KiB