记录详情

Runtime Error

foo.c: In function 'main':
foo.c:14: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:14: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"] 1ms 256.0 KiB
#3 Accepted 0ms 256.0 KiB
#4 Accepted 2ms 1.0 MiB
#5 Wrong Answer Read {0}, expect {1}. ["844651","943886"] 2ms 364.0 KiB
#6 Wrong Answer Read {0}, expect {1}. ["1098289","703626"] 7ms 1.016 MiB
#7 Wrong Answer Read {0}, expect {1}. ["1182484","1198774"] 10ms 1.48 MiB
#8 Accepted 15ms 2.125 MiB
#9 Wrong Answer Read {0}, expect {1}. ["849575","850355"] 37ms 4.871 MiB
#10 Runtime Error Segmentation fault 62ms 7.996 MiB

信息

递交者
类型
递交
题目
P1167 连续数之和
语言
C
递交时间
2021-01-28 09:58:50
评测时间
2021-01-28 09:58:50
评测机
分数
40
总耗时
140ms
峰值内存
7.996 MiB