记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:17:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=0; i<k; i++)
  ^~~
foo.c:19:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   for(i=0; i<n; i++) {
   ^~~
foo.c:11:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d",&n,&k);
  ^~~~~~~~~~~~~~~~~~~~
foo.c:13: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 Accepted 0ms 256.0 KiB
#3 Accepted 0ms 256.0 KiB
#4 Accepted 2ms 640.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 7ms 604.0 KiB
#7 Accepted 10ms 792.0 KiB
#8 Accepted 12ms 1.133 MiB
#9 Accepted 34ms 2.492 MiB
#10 Wrong Answer Read {0}, expect {1}. ["","1065365"] 55ms 4.125 MiB

信息

递交者
类型
递交
题目
P1167 连续数之和
语言
C
递交时间
2021-01-28 10:57:04
评测时间
2021-01-28 10:57:04
评测机
分数
90
总耗时
127ms
峰值内存
4.125 MiB