Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

18593
17220
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 3496 Accepted 100
1 1 2 4 5 0002.4 6044 3592 Accepted 100
2 1 2 4 5 0002.5 6044 3572 Accepted 100
3 1 2 4 5 0002.4 6044 3656 Accepted 100
4 1 2 4 5 0002.8 6044 3664 Accepted 100
5 1 2 4 5 0002.7 6044 3568 Accepted 100
6 1 2 4 5 0002.4 6044 3544 Accepted 100
7 1 2 4 5 0002.3 6044 3668 Accepted 100
8 1 2 4 5 0002.4 6044 3540 Accepted 100
9 2 4 5 0004.5 6176 3724 Accepted 100
10 2 4 5 0005.1 6176 3728 Accepted 100
11 2 4 5 0005.0 6176 3616 Accepted 100
12 2 4 5 0004.0 6044 3776 Accepted 100
13 2 4 5 0003.4 6044 3700 Accepted 100
14 2 4 5 0004.8 6176 3644 Accepted 100
15 2 4 5 0004.8 6176 3692 Accepted 100
16 2 4 5 0003.0 6044 3604 Accepted 100
17 3 4 5 0067.5 6044 3624 Accepted 100
18 3 4 5 0071.1 6044 3536 Accepted 100
19 3 4 5 0067.4 6044 3528 Accepted 100
20 3 4 5 0069.3 6044 3588 Accepted 100
21 3 4 5 0069.8 6044 3684 Accepted 100
22 3 4 5 0073.4 6044 3536 Accepted 100
23 3 4 5 0068.6 6044 3688 Accepted 100
24 4 5 0303.3 11060 8584 Accepted 100
25 4 5 0307.0 11060 8592 Accepted 100
26 4 5 0304.4 11192 8632 Accepted 100
27 4 5 0309.4 11060 8764 Accepted 100
28 4 5 0295.0 11060 8640 Accepted 100
29 4 5 0304.4 11192 8676 Accepted 100
30 4 5 0301.0 11060 8528 Accepted 100
31 4 5 0311.6 11192 8580 Accepted 100
32 4 5 0297.5 10928 8528 Accepted 100
33 4 5 0317.0 11192 8808 Accepted 100
34 4 5 0305.6 10928 8584 Accepted 100
35 4 5 0319.6 11192 8736 Accepted 100
36 5 0959.7 18716 16400 Accepted 100
37 5 1000.4 18980 16572 Accepted 100
38 5 0956.8 18848 16392 Accepted 100
39 5 0926.8 19244 16824 Accepted 100
40 5 0917.8 19244 16812 Accepted 100
41 5 0917.1 19112 16576 Accepted 100
42 5 0896.7 18452 15956 Accepted 100
43 5 0864.7 18452 16024 Accepted 100
44 5 0853.0 18452 15876 Accepted 100
45 5 0841.0 18188 15804 Accepted 100
46 5 0855.1 18584 16164 Accepted 100
47 5 0836.7 18320 15796 Accepted 100
48 5 0839.8 18188 15780 Accepted 100
49 5 0869.3 18584 16128 Accepted 100
50 5 0886.8 18584 16260 Accepted 100
51 5 0951.3 19772 17220 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
512 Bytes
Back to Top