记录详情

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 1ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 640.0 KiB
#5 Accepted 2ms 336.0 KiB
#6 Accepted 6ms 884.0 KiB
#7 Accepted 11ms 1.25 MiB
#8 Accepted 13ms 1.656 MiB
#9 Accepted 40ms 4.242 MiB
#10 Wrong Answer Read {0}, expect {1}. ["","1065365"] 64ms 6.957 MiB

信息

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