Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

18964
21956
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.7 24804 3660 Accepted 100
1 1 2 4 5 0002.6 24804 3720 Accepted 100
2 1 2 4 5 0002.7 24804 3664 Accepted 100
3 1 2 4 5 0002.6 24804 3560 Accepted 100
4 1 2 4 5 0002.6 24804 3544 Accepted 100
5 1 2 4 5 0002.6 24804 3556 Accepted 100
6 1 2 4 5 0002.6 24804 3628 Accepted 100
7 1 2 4 5 0002.6 24804 3664 Accepted 100
8 1 2 4 5 0002.6 24804 3552 Accepted 100
9 2 4 5 0005.1 24804 3692 Accepted 100
10 2 4 5 0005.7 24804 3648 Accepted 100
11 2 4 5 0005.8 24804 3612 Accepted 100
12 2 4 5 0004.5 24804 3608 Accepted 100
13 2 4 5 0003.7 24804 3576 Accepted 100
14 2 4 5 0005.4 24804 3696 Accepted 100
15 2 4 5 0005.2 24804 3604 Accepted 100
16 2 4 5 0003.2 24804 3672 Accepted 100
17 3 4 5 0095.3 24804 5796 Accepted 100
18 3 4 5 0098.8 24804 5796 Accepted 100
19 3 4 5 0094.1 24804 5676 Accepted 100
20 3 4 5 0096.3 24804 5716 Accepted 100
21 3 4 5 0096.8 24804 5676 Accepted 100
22 3 4 5 0097.7 24804 5748 Accepted 100
23 3 4 5 0094.9 24804 5712 Accepted 100
24 4 5 0321.7 24804 10388 Accepted 100
25 4 5 0313.7 24804 10440 Accepted 100
26 4 5 0332.0 24804 10596 Accepted 100
27 4 5 0317.8 24804 10464 Accepted 100
28 4 5 0311.2 24804 10284 Accepted 100
29 4 5 0324.6 24804 10512 Accepted 100
30 4 5 0318.0 24804 10448 Accepted 100
31 4 5 0326.2 24804 10388 Accepted 100
32 4 5 0336.1 24804 10204 Accepted 100
33 4 5 0330.4 24804 10596 Accepted 100
34 4 5 0308.9 24804 10196 Accepted 100
35 4 5 0324.4 24804 10392 Accepted 100
36 5 0886.1 24804 20708 Accepted 100
37 5 0930.8 24804 21116 Accepted 100
38 5 0893.5 24804 21032 Accepted 100
39 5 0963.7 24804 21484 Accepted 100
40 5 0934.0 24804 21472 Accepted 100
41 5 0939.6 24804 21264 Accepted 100
42 5 0900.5 24804 20552 Accepted 100
43 5 0880.1 24804 20312 Accepted 100
44 5 0857.1 24804 20328 Accepted 100
45 5 0852.8 24804 20084 Accepted 100
46 5 0874.2 24804 20388 Accepted 100
47 5 0864.8 24804 20228 Accepted 100
48 5 0852.2 24804 20092 Accepted 100
49 5 0889.6 24804 20572 Accepted 100
50 5 0876.7 24804 20444 Accepted 100
51 5 0967.2 24804 21956 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
888 Bytes
Back to Top