Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

21747
20076
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.4 31208 3688 Accepted 100
1 1 2 4 5 0002.6 31208 3552 Accepted 100
2 1 2 4 5 0002.4 31208 3628 Accepted 100
3 1 2 4 5 0002.6 31208 3580 Accepted 100
4 1 2 4 5 0002.6 31208 3588 Accepted 100
5 1 2 4 5 0002.4 31208 3460 Accepted 100
6 1 2 4 5 0002.5 31208 3624 Accepted 100
7 1 2 4 5 0002.4 31208 3560 Accepted 100
8 1 2 4 5 0002.5 31208 3560 Accepted 100
9 2 4 5 0004.7 31208 3648 Accepted 100
10 2 4 5 0005.2 31208 3632 Accepted 100
11 2 4 5 0005.2 31208 3684 Accepted 100
12 2 4 5 0004.1 31208 3412 Accepted 100
13 2 4 5 0003.5 31208 3572 Accepted 100
14 2 4 5 0004.9 31208 3700 Accepted 100
15 2 4 5 0004.8 31208 3528 Accepted 100
16 2 4 5 0003.0 31208 3600 Accepted 100
17 3 4 5 0080.7 31208 5676 Accepted 100
18 3 4 5 0081.8 31208 5672 Accepted 100
19 3 4 5 0076.6 31208 5616 Accepted 100
20 3 4 5 0078.4 31208 5616 Accepted 100
21 3 4 5 0076.5 31208 5676 Accepted 100
22 3 4 5 0080.9 31208 5440 Accepted 100
23 3 4 5 0078.0 31208 5676 Accepted 100
24 4 5 0349.1 31208 11648 Accepted 100
25 4 5 0353.4 31208 11816 Accepted 100
26 4 5 0364.9 31208 11780 Accepted 100
27 4 5 0354.8 31208 11760 Accepted 100
28 4 5 0347.8 31208 11828 Accepted 100
29 4 5 0362.7 31208 11888 Accepted 100
30 4 5 0356.5 31208 11820 Accepted 100
31 4 5 0360.1 31208 11824 Accepted 100
32 4 5 0340.1 31208 11784 Accepted 100
33 4 5 0362.7 31208 11824 Accepted 100
34 4 5 0346.0 31208 11816 Accepted 100
35 4 5 0360.5 31208 11884 Accepted 100
36 5 1044.3 31208 19844 Accepted 100
37 5 1086.3 31208 20020 Accepted 100
38 5 1069.4 31208 20016 Accepted 100
39 5 1121.7 31208 20076 Accepted 100
40 5 1104.9 31208 19956 Accepted 100
41 5 1086.9 31208 19944 Accepted 100
42 5 1027.7 31208 19956 Accepted 100
43 5 1033.0 31208 19972 Accepted 100
44 5 1018.7 31208 19844 Accepted 100
45 5 0998.5 31208 20008 Accepted 100
46 5 1041.2 31208 19940 Accepted 100
47 5 1022.8 31208 20016 Accepted 100
48 5 1007.0 31208 19972 Accepted 100
49 5 1038.8 31208 20072 Accepted 100
50 5 1038.1 31208 19956 Accepted 100
51 5 1138.5 31208 19948 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.79 KB
Back to Top