/ AOCode /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:79:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   79 |  freopen("railway.in","r",stdin);
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:80:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   80 |  freopen("railway.out","w",stdout);
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:82:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   82 |  scanf("%d%d%d",&c,&s,&r);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:87:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   87 |         scanf("%d%d%d",&o[i],&d[i],&n[i]);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1,10 > YES > YES > YES > 2ms 384.0 KiB
#2 Wrong Answer 0a1,50 > YES > YES > YES > 2ms 384.0 KiB
#3 Wrong Answer 0a1,500 > YES > YES > YES > 2ms 384.0 KiB
#4 Wrong Answer 0a1,1000 > YES > YES > YES 3ms 384.0 KiB
#5 Wrong Answer 0a1,60000 > YES > YES > YES 3ms 384.0 KiB
#6 Wrong Answer 0a1,999 > YES > YES > YES > 3ms 384.0 KiB
#7 Wrong Answer 0a1,10000 > YES > YES > YES 2ms 384.0 KiB
#8 Wrong Answer 0a1,10000 > YES > YES > YES 2ms 384.0 KiB
#9 Wrong Answer 0a1,15000 > YES > YES > YES 2ms 384.0 KiB
#10 Wrong Answer 0a1,20000 > YES > NO > YES 2ms 384.0 KiB
#11 Wrong Answer 0a1,6000 > YES > YES > YES 2ms 384.0 KiB
#12 Wrong Answer 0a1,60000 > YES > YES > YES 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1035 售票系统
语言
C++
递交时间
2022-02-25 19:38:21
评测时间
2022-02-25 19:38:21
评测机
分数
0
总耗时
32ms
峰值内存
384.0 KiB