/ Vijos /

记录详情

Runtime Error

foo.c: In function 'main':
foo.c:22:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ^~~~~~~~~~~~~~~~~~~
foo.c:24:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&v[i]);
   ^~~~~~~~~~~~~~~~~
foo.c:27:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&plus);
   ^~~~~~~~~~~~~~~~~
foo.c:29:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d",&cost[j]);
    ^~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 59ms 76.652 MiB
#2 Runtime Error Segmentation fault 60ms 76.609 MiB
#3 Runtime Error Segmentation fault 60ms 76.633 MiB
#4 Runtime Error Segmentation fault 61ms 76.734 MiB
#5 Runtime Error Segmentation fault 62ms 76.629 MiB
#6 Runtime Error Segmentation fault 60ms 76.664 MiB
#7 Accepted 158ms 76.738 MiB
#8 Accepted 153ms 76.738 MiB
#9 Accepted 63ms 76.672 MiB

信息

递交者
类型
递交
题目
P1426 兴奋剂检查
语言
C
递交时间
2020-12-22 00:17:41
评测时间
2020-12-22 00:17:41
评测机
分数
34
总耗时
738ms
峰值内存
76.738 MiB