Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

9673
65664
Accepted
100

Subtask Results

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

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 3 4 0003.3 6528 3456 Accepted 100
1 1 2 3 4 0004.1 6528 3456 Accepted 100
2 1 4 0004.3 6528 3456 Accepted 100
3 2 4 0004.1 6528 3456 Accepted 100
4 2 4 0004.3 6528 3456 Accepted 100
5 2 4 0004.5 6528 3456 Accepted 100
6 2 4 0009.5 6808 3456 Accepted 100
7 2 4 0047.4 9084 5760 Accepted 100
8 2 4 0392.6 35480 31104 Accepted 100
9 2 4 1235.2 67264 62208 Accepted 100
10 2 4 1513.4 65344 61056 Accepted 100
11 2 4 1407.6 66272 61056 Accepted 100
12 3 4 0003.8 6528 3456 Accepted 100
13 3 4 0003.8 6528 3456 Accepted 100
14 3 4 0004.0 6528 3456 Accepted 100
15 3 4 0003.0 6528 3456 Accepted 100
16 3 4 0004.0 6528 3456 Accepted 100
17 3 4 0003.8 6528 3456 Accepted 100
18 3 4 0004.0 6528 3456 Accepted 100
19 3 4 0014.3 7072 3456 Accepted 100
20 3 4 0048.0 12348 8064 Accepted 100
21 3 4 0310.4 36760 32256 Accepted 100
22 3 4 0442.9 70040 65664 Accepted 100
23 4 0003.8 6528 3456 Accepted 100
24 4 0004.0 6528 3456 Accepted 100
25 4 0003.1 6528 3456 Accepted 100
26 4 0006.4 6660 3456 Accepted 100
27 4 0008.7 6800 3456 Accepted 100
28 4 0031.0 9292 5760 Accepted 100
29 4 0042.8 9224 5760 Accepted 100
30 4 0333.8 36396 31104 Accepted 100
31 4 0542.9 67008 62208 Accepted 100
32 4 0700.2 65524 61056 Accepted 100
33 4 0792.5 67472 62208 Accepted 100
34 4 0004.1 6528 3456 Accepted 100
35 4 0004.0 6528 3456 Accepted 100
36 4 0006.3 6660 3456 Accepted 100
37 4 0021.1 8060 4608 Accepted 100
38 4 0109.5 22912 18432 Accepted 100
39 4 0542.2 57684 52992 Accepted 100
40 4 0660.9 57636 52992 Accepted 100
41 4 0382.9 58404 54144 Accepted 100
Submitter:
Compiler:
c++23
Code Length:
5.86 KB
Back to Top