记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:11:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
  scanf("%d %d",&n,&k);
         ~^     ~~
         %lld
foo.c:11:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
  scanf("%d %d",&n,&k);
            ~^     ~~
            %lld
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 1ms 640.0 KiB
#5 Accepted 1ms 304.0 KiB
#6 Accepted 6ms 820.0 KiB
#7 Accepted 9ms 1.297 MiB
#8 Accepted 11ms 1.672 MiB
#9 Accepted 32ms 3.285 MiB
#10 Wrong Answer Read {0}, expect {1}. ["","1065365"] 53ms 4.852 MiB

信息

递交者
类型
递交
题目
P1167 连续数之和
语言
C
递交时间
2021-01-28 11:00:36
评测时间
2021-01-28 11:00:36
评测机
分数
90
总耗时
119ms
峰值内存
4.852 MiB