/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void init()':
foo.cc:41:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   41 |     freopen("demo.in", "r", stdin);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:42:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   42 |     freopen("demo.out", "w", stdout);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:45:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   45 |         scanf("%s",a[i]+1);
      |         ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1,4 > JGCDFAEHIB > JGCDFAEI 2ms 380.0 KiB
#2 Wrong Answer 0a1,6 > ABC > ACB > BAC > B 2ms 380.0 KiB
#3 Wrong Answer 0a1 > EDABC 2ms 384.0 KiB
#4 Wrong Answer 0a1 > CBA 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1030 重叠的方框
语言
C++
递交时间
2022-08-06 12:58:58
评测时间
2022-08-06 12:58:58
评测机
分数
0
总耗时
8ms
峰值内存
384.0 KiB