记录详情

Runtime Error

foo.c: In function 'main':
foo.c:15:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
   scanf("%d",&a[i]);
          ~^  ~~~~~
          %lld
foo.c:12:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d",&n,&k);
  ^~~~~~~~~~~~~~~~~~~~
foo.c:15:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i]);
   ^~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Wrong Answer Read {0}, expect {1}. ["100","5050"] 0ms 256.0 KiB
#3 Wrong Answer Read {0}, expect {1}. ["276","599"] 1ms 256.0 KiB
#4 Runtime Error Segmentation fault 2ms 1.0 MiB
#5 Wrong Answer Read {0}, expect {1}. ["715824","943886"] 2ms 384.0 KiB
#6 Wrong Answer Read {0}, expect {1}. ["373654","703626"] 7ms 936.0 KiB
#7 Wrong Answer Read {0}, expect {1}. ["1169938","1198774"] 11ms 1.457 MiB
#8 Runtime Error Segmentation fault 15ms 2.121 MiB
#9 Wrong Answer Read {0}, expect {1}. ["849274","850355"] 42ms 4.855 MiB
#10 Runtime Error Segmentation fault 64ms 7.945 MiB

信息

递交者
类型
递交
题目
P1167 连续数之和
语言
C
递交时间
2021-01-28 09:59:32
评测时间
2021-01-28 09:59:32
评测机
分数
10
总耗时
149ms
峰值内存
7.945 MiB