记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:4:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n); scanf("%d", &k);
  ^~~~~~~~~~~~~~~
foo.c:4:19: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n); scanf("%d", &k);
                   ^~~~~~~~~~~~~~~
foo.c:7:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &a[i]);
   ^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -34, expect -305. 0ms 256.0 KiB
#2 Wrong Answer Read 72, expect -780. 0ms 256.0 KiB
#3 Wrong Answer Read 599, expect -233. 0ms 300.0 KiB
#4 Wrong Answer Read 588, expect 514. 2ms 348.0 KiB
#5 Wrong Answer Read -389, expect -653. 9ms 696.0 KiB

信息

递交者
类型
递交
题目
2-4 点名上前
比赛
2021(四) 作业第一场:秀肌肉
语言
C
递交时间
2021-09-30 09:53:51
评测时间
2021-09-30 09:53:51
评测机
分数
0
总耗时
14ms
峰值内存
696.0 KiB