/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:4:21: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
    4 | #define In() freopen("in.in","r",stdin)
      |              ~~~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:48:1: note: in expansion of macro 'In'
   48 | In();
      | ^~
foo.cc:49:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   49 | scanf("%d%d",&n,&m);mem(head,-1);
      | ~~~~~^~~~~~~~~~~~~~
foo.cc:53:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   53 | scanf("%d%d",&u,&v);
      | ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 7. 2ms 512.0 KiB
#2 Wrong Answer Read 0, expect 3. 5ms 512.0 KiB
#3 Wrong Answer Read 0, expect 5. 4ms 512.0 KiB
#4 Wrong Answer Read 0, expect 3. 4ms 640.0 KiB
#5 Accepted 2ms 640.0 KiB
#6 Wrong Answer Read 0, expect 9. 2ms 640.0 KiB
#7 Wrong Answer Read 0, expect 4. 3ms 512.0 KiB
#8 Wrong Answer Read 0, expect 8. 5ms 512.0 KiB
#9 Wrong Answer Read 0, expect 44. 5ms 640.0 KiB
#10 Wrong Answer Read 0, expect 81. 4ms 640.0 KiB

信息

递交者
类型
递交
题目
P1325 桐桐的糖果计划
语言
C++
递交时间
2022-01-01 09:32:54
评测时间
2022-01-01 09:32:54
评测机
分数
10
总耗时
40ms
峰值内存
640.0 KiB