Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

9891
197656
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 3~11 保證樹是一條路徑 21 / 21
3 12~22 $d_i = i + 1, 1\leq i\leq N - 1, d_N = 1$ 34 / 34
4 3~41 無特別限制 45 / 45

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0024.4 109544 35032 Accepted 100
1 1 0018.1 109544 35032 Accepted 100
2 1 0016.3 109544 34880 Accepted 100
3 2 4 0016.5 109544 34952 Accepted 100
4 2 4 0016.9 109544 34956 Accepted 100
5 2 4 0016.8 109544 34956 Accepted 100
6 2 4 0019.1 109940 35776 Accepted 100
7 2 4 0052.9 113448 42424 Accepted 100
8 2 4 0634.0 150392 110372 Accepted 100
9 2 4 1397.0 203564 197656 Accepted 100
10 2 4 1353.8 188140 182344 Accepted 100
11 2 4 1318.5 194024 188360 Accepted 100
12 3 4 0013.8 109544 35064 Accepted 100
13 3 4 0013.7 109544 34988 Accepted 100
14 3 4 0013.8 109544 35004 Accepted 100
15 3 4 0013.5 109544 34948 Accepted 100
16 3 4 0013.7 109544 34792 Accepted 100
17 3 4 0013.6 109544 34944 Accepted 100
18 3 4 0013.3 109544 34804 Accepted 100
19 3 4 0017.4 110072 36188 Accepted 100
20 3 4 0045.9 114844 46968 Accepted 100
21 3 4 0293.2 135104 94176 Accepted 100
22 3 4 0466.6 162996 156088 Accepted 100
23 4 0013.7 109544 34780 Accepted 100
24 4 0013.7 109544 34876 Accepted 100
25 4 0013.8 109544 34784 Accepted 100
26 4 0014.6 109676 35104 Accepted 100
27 4 0014.9 109808 35644 Accepted 100
28 4 0028.1 112080 40804 Accepted 100
29 4 0034.3 112096 40948 Accepted 100
30 4 0314.7 134288 94020 Accepted 100
31 4 0556.4 159932 153528 Accepted 100
32 4 0798.2 160424 154736 Accepted 100
33 4 0705.2 159184 153488 Accepted 100
34 4 0014.0 109544 35100 Accepted 100
35 4 0014.0 109544 34800 Accepted 100
36 4 0014.6 109676 35276 Accepted 100
37 4 0021.9 110864 38516 Accepted 100
38 4 0126.8 123288 69216 Accepted 100
39 4 0473.2 150208 137588 Accepted 100
40 4 0521.1 149672 136792 Accepted 100
41 4 0394.9 147316 134384 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
4.62 KB
Back to Top