/ Vijos /

记录详情

Time Exceeded

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 Accepted 2ms 380.0 KiB
#2 Wrong Answer Read 576, expect 540. 3ms 384.0 KiB
#3 Wrong Answer Read 2392, expect 2546. 2ms 384.0 KiB
#4 Wrong Answer Read 59770, expect 60636. 2ms 384.0 KiB
#5 Wrong Answer Read 251312, expect 259816. 4ms 384.0 KiB
#6 Wrong Answer Read 6030800, expect 6225256. 15ms 384.0 KiB
#7 Wrong Answer Read 24244986, expect 24906204. 50ms 512.0 KiB
#8 Wrong Answer Read 97979408, expect 99902736. 221ms 768.0 KiB
#9 Time Exceeded ≥1096ms ≥1.117 MiB
#10 Time Exceeded ≥1101ms ≥1.867 MiB

信息

递交者
类型
递交
题目
P1842 火柴排队
语言
C++
递交时间
2022-03-04 06:09:35
评测时间
2022-03-04 06:09:35
评测机
分数
10
总耗时
≥2498ms
峰值内存
≥1.867 MiB