记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:25:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     freopen("666.in","r",stdin);
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:26:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     freopen("666.out","w",stdout);
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:27: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:29:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i]);
   ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 17 2ms 384.0 KiB
#2 Wrong Answer 0a1 > 719 1ms 384.0 KiB
#3 Wrong Answer 0a1 > 164 1ms 384.0 KiB
#4 Wrong Answer 0a1 > 261 1ms 384.0 KiB
#5 Wrong Answer 0a1 > 155 1ms 384.0 KiB
#6 Wrong Answer 0a1 > 155 1ms 384.0 KiB
#7 Wrong Answer 0a1 > 112 1ms 384.0 KiB
#8 Wrong Answer 0a1 > 129 1ms 384.0 KiB
#9 Wrong Answer 0a1 > 233 2ms 384.0 KiB
#10 Wrong Answer 0a1 > 159 1ms 384.0 KiB
#11 Wrong Answer 0a1 > 180 1ms 384.0 KiB

信息

递交者
类型
递交
题目
最佳调度问题
题目数据
下载
语言
C++
递交时间
2021-10-19 16:46:13
评测时间
2021-10-19 16:46:13
评测机
分数
0
总耗时
19ms
峰值内存
384.0 KiB