Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

18818
17172
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~8 $N \le 10$,且對所有 $i$,$S(i)=T(i)$ 17 / 17
2 0~16 $N \le 5000$ 13 / 13
3 17~23 $N \le 100000$,且對所有 $i$,$S(i)=T(i)$ 13 / 13
4 0~35 $N \le 300000$ 25 / 25
5 0~51 $N \le 800000$ 32 / 32

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 4 5 0002.5 6044 3504 Accepted 100
1 1 2 4 5 0002.4 6044 3544 Accepted 100
2 1 2 4 5 0002.4 6044 3568 Accepted 100
3 1 2 4 5 0002.4 6044 3592 Accepted 100
4 1 2 4 5 0002.4 6044 3540 Accepted 100
5 1 2 4 5 0002.5 6044 3664 Accepted 100
6 1 2 4 5 0002.4 6044 3592 Accepted 100
7 1 2 4 5 0002.3 6044 3564 Accepted 100
8 1 2 4 5 0002.3 6044 3504 Accepted 100
9 2 4 5 0004.6 6176 3724 Accepted 100
10 2 4 5 0005.3 6176 3676 Accepted 100
11 2 4 5 0005.1 6176 3728 Accepted 100
12 2 4 5 0004.4 6044 3704 Accepted 100
13 2 4 5 0003.4 6044 3536 Accepted 100
14 2 4 5 0004.9 6176 3608 Accepted 100
15 2 4 5 0004.7 6176 3564 Accepted 100
16 2 4 5 0003.0 6044 3692 Accepted 100
17 3 4 5 0073.8 6044 3632 Accepted 100
18 3 4 5 0076.9 6044 3576 Accepted 100
19 3 4 5 0073.7 6044 3620 Accepted 100
20 3 4 5 0074.4 6044 3764 Accepted 100
21 3 4 5 0073.7 6044 3652 Accepted 100
22 3 4 5 0078.9 6044 3692 Accepted 100
23 3 4 5 0074.3 6044 3524 Accepted 100
24 4 5 0305.2 11060 8552 Accepted 100
25 4 5 0309.7 11060 8704 Accepted 100
26 4 5 0312.8 11192 8868 Accepted 100
27 4 5 0307.1 11060 8600 Accepted 100
28 4 5 0301.8 11060 8628 Accepted 100
29 4 5 0310.3 11192 8776 Accepted 100
30 4 5 0303.8 11060 8572 Accepted 100
31 4 5 0310.5 11192 8640 Accepted 100
32 4 5 0294.1 10928 8464 Accepted 100
33 4 5 0313.5 11192 8872 Accepted 100
34 4 5 0298.3 10928 8544 Accepted 100
35 4 5 0308.6 11192 8700 Accepted 100
36 5 0955.6 18716 16300 Accepted 100
37 5 0985.4 18980 16636 Accepted 100
38 5 0937.4 18848 16564 Accepted 100
39 5 0965.6 19244 16896 Accepted 100
40 5 0927.5 19244 16864 Accepted 100
41 5 0909.8 19112 16636 Accepted 100
42 5 0855.0 18452 15964 Accepted 100
43 5 0870.7 18452 16024 Accepted 100
44 5 0846.9 18452 15972 Accepted 100
45 5 0879.5 18188 15800 Accepted 100
46 5 0905.1 18584 16064 Accepted 100
47 5 0891.6 18320 15960 Accepted 100
48 5 0870.1 18188 15616 Accepted 100
49 5 0896.5 18584 16148 Accepted 100
50 5 0885.9 18584 16260 Accepted 100
51 5 0977.1 19772 17172 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
326 Bytes
Back to Top