/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int cmp(const node&, const node&)':
foo.cc:69:18: warning: self-comparison always evaluates to false [-Wtautological-compare]
   69 |     return L.val < L.val;
      |            ~~~~~ ^ ~~~~~
foo.cc: In function 'void init()':
foo.cc:75:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   75 |     for (int i=1;i<=n;i++) scanf("%d",&a[i].val), a[i].pos=i;
      |                            ~~~~~^~~~~~~~~~~~~~~~
foo.cc:76:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   76 |     for (int i=1;i<=n;i++) scanf("%d",&b[i]);
      |                            ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 23, expect 18. 2ms 384.0 KiB
#2 Wrong Answer Read 566, expect 540. 2ms 384.0 KiB
#3 Wrong Answer Read 2385, expect 2546. 2ms 384.0 KiB
#4 Wrong Answer Read 63241, expect 60636. 3ms 384.0 KiB
#5 Wrong Answer Read 253657, expect 259816. 3ms 384.0 KiB
#6 Wrong Answer Read 6295253, expect 6225256. 5ms 640.0 KiB
#7 Wrong Answer Read 25402279, expect 24906204. 8ms 768.0 KiB
#8 Wrong Answer Read 1392594, expect 99902736. 17ms 1.25 MiB
#9 Wrong Answer Read 32931379, expect 23190504. 43ms 2.625 MiB
#10 Wrong Answer Read 32708352, expect 97187296. 95ms 4.875 MiB

信息

递交者
类型
递交
题目
P1842 火柴排队
语言
C++
递交时间
2022-03-04 06:03:46
评测时间
2022-03-04 06:03:46
评测机
分数
0
总耗时
184ms
峰值内存
4.875 MiB