/ 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 2ms 384.0 KiB
#2 Wrong Answer Read 0, expect 1. 2ms 384.0 KiB
#3 Wrong Answer Read 181, expect 182. 6ms 2.25 MiB
#4 Wrong Answer Read 6, expect 2. 6ms 2.25 MiB
#5 Wrong Answer Read 19, expect 14. 16ms 2.25 MiB
#6 Wrong Answer Read 31, expect 23. 18ms 2.25 MiB
#7 Wrong Answer Read 24, expect 19. 42ms 2.25 MiB
#8 Wrong Answer Read 6, expect 7. 125ms 2.25 MiB
#9 Wrong Answer 1d0 < 0 2a2 > 2 184ms 2.242 MiB
#10 Wrong Answer Read 499, expect 500. 146ms 2.25 MiB

信息

递交者
类型
递交
题目
P1264 神秘的咒语
语言
C++
递交时间
2022-03-12 01:24:33
评测时间
2022-03-12 01:24:33
评测机
分数
10
总耗时
552ms
峰值内存
2.25 MiB