记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:7:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&k);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:9:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i-1]);
   ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 308, expect -305. 0ms 256.0 KiB
#2 Wrong Answer Read 41, expect -780. 0ms 256.0 KiB
#3 Wrong Answer Read -445, expect -233. 1ms 256.0 KiB
#4 Wrong Answer Read 875, expect 514. 2ms 364.0 KiB
#5 Wrong Answer Read 174, expect -653. 9ms 500.0 KiB

信息

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