/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:28:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   28 |         scanf("%d",&n);
      |         ~~~~~^~~~~~~~~
foo.cc:29:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   29 |         for(int i = 1;i <= n;i++) scanf("%d",a+i);
      |                                   ~~~~~^~~~~~~~~~
foo.cc:30:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   30 |         scanf("%d",&m);
      |         ~~~~~^~~~~~~~~
foo.cc:31:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   31 |         for(int i = 1;i <= m;i++) scanf("%d",b+i);
      |                                   ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 5ms 384.0 KiB
#3 Wrong Answer Read 181, expect 182. 6ms 2.25 MiB
#4 Wrong Answer Read 6, expect 2. 8ms 2.375 MiB
#5 Wrong Answer Read 19, expect 14. 23ms 2.25 MiB
#6 Wrong Answer Read 31, expect 23. 16ms 2.25 MiB
#7 Wrong Answer Read 24, expect 19. 49ms 2.375 MiB
#8 Wrong Answer Read 6, expect 7. 137ms 2.367 MiB
#9 Wrong Answer 1d0 < 0 2a2 > 2 165ms 2.242 MiB
#10 Wrong Answer Read 500, expect 1. 148ms 2.25 MiB

信息

递交者
类型
递交
题目
P1264 神秘的咒语
语言
C++
递交时间
2022-03-12 01:23:13
评测时间
2022-03-12 01:23:13
评测机
分数
20
总耗时
568ms
峰值内存
2.375 MiB