/ WHOJ /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
    9 |  freopen("boxline.in","r",stdin);
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:10:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   10 |  freopen("boxline.out","w",stdout);
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:20:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   20 |         scanf("%d", &op);
      |         ~~~~~^~~~~~~~~~~
foo.cc:24:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   24 |           scanf("%d%d", &X, &Y);
      |           ~~~~~^~~~~~~~~~~~~~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1,3 > Case 1: 12 > Case 2: 4ms 384.0 KiB
#2 Wrong Answer 0a1,3 > Case 1: 6 > Case 2: 2 5ms 384.0 KiB
#3 Wrong Answer 0a1,4445 > Case 1: 10876 > Ca 2ms 384.0 KiB
#4 Wrong Answer 0a1,1945 > Case 1: 9148 > Cas 2ms 256.0 KiB
#5 Wrong Answer 0a1 > Case 1: 11 \ No newline 2ms 256.0 KiB
#6 Wrong Answer 0a1,4726 > Case 1: 5496 > Cas 2ms 384.0 KiB
#7 Wrong Answer 0a1,5054 > Case 1: 1091 > Cas 2ms 384.0 KiB
#8 Wrong Answer 0a1,4986 > Case 1: 14190 > Ca 2ms 384.0 KiB
#9 Wrong Answer 0a1,5330 > Case 1: 7968 > Cas 2ms 384.0 KiB
#10 Wrong Answer 0a1,5127 > Case 1: 7314 > Cas 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1275 移动盒子
题目数据
下载
语言
C++
递交时间
2022-07-10 17:45:37
评测时间
2022-07-10 17:45:37
评测机
分数
0
总耗时
27ms
峰值内存
384.0 KiB