Wrong Answer

foo.cc: In function 'int main()':
foo.cc:16:22: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
 #define fr(x) freopen(x, "r", stdin)
               ~~~~~~~^~~~~~~~~~~~~~~
foo.cc:76:3: note: in expansion of macro 'fr'
   fr("data/data.in");
   ^~
foo.cc:17:22: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
 #define fw(x) freopen(x, "w", stdout)
               ~~~~~~~^~~~~~~~~~~~~~~~
foo.cc:77:3: note: in expansion of macro 'fw'
   fw("data/data.out");
   ^~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1,3 > 5 > 28 > 0 2ms 384.0 KiB
#2 Wrong Answer 0a1,4 > 58 > 41 > 70 > 114 2ms 508.0 KiB
#3 Wrong Answer 0a1,6 > 158 > 150 > 198 > 1 2ms 384.0 KiB
#4 Wrong Answer 0a1,100 > 37 > 60 > 35 > 90 1ms 384.0 KiB
#5 Wrong Answer 0a1,300 > 16 > 18 > 64 > 13 2ms 384.0 KiB

信息

递交者
类型
递交
题目
「一本通 1.4 例 3」Knight Moves
语言
C++
递交时间
2021-07-29 16:37:35
评测时间
2021-07-29 16:37:35
评测机
分数
0
总耗时
10ms
峰值内存
508.0 KiB