记录详情

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 1ms 256.0 KiB
#3 Accepted 0ms 256.0 KiB
#4 Accepted 1ms 640.0 KiB
#5 Accepted 1ms 304.0 KiB
#6 Accepted 6ms 804.0 KiB
#7 Accepted 11ms 1.16 MiB
#8 Accepted 12ms 1.477 MiB
#9 Accepted 38ms 3.414 MiB
#10 Wrong Answer Read {0}, expect {1}. ["329568","1065365"] 60ms 4.984 MiB

信息

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