Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

11309
157880
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 0006.8 87668 13112 Accepted 100
1 1 0007.4 87668 13004 Accepted 100
2 1 0006.5 87668 13108 Accepted 100
3 2 4 0006.6 87668 13044 Accepted 100
4 2 4 0006.7 87668 13084 Accepted 100
5 2 4 0006.6 87668 13064 Accepted 100
6 2 4 0009.1 87936 13708 Accepted 100
7 2 4 0039.1 90916 19560 Accepted 100
8 2 4 0698.6 120300 79952 Accepted 100
9 2 4 1543.8 164260 157880 Accepted 100
10 2 4 1560.8 149864 143768 Accepted 100
11 2 4 1575.6 155572 149400 Accepted 100
12 3 4 0006.8 87668 13044 Accepted 100
13 3 4 0006.6 87668 13084 Accepted 100
14 3 4 0006.6 87668 12916 Accepted 100
15 3 4 0006.5 87668 13008 Accepted 100
16 3 4 0006.5 87668 13056 Accepted 100
17 3 4 0006.6 87668 13120 Accepted 100
18 3 4 0006.6 87668 13196 Accepted 100
19 3 4 0011.3 88136 14236 Accepted 100
20 3 4 0046.1 91612 23556 Accepted 100
21 3 4 0345.3 105876 65132 Accepted 100
22 3 4 0587.2 123360 116876 Accepted 100
23 4 0007.0 87668 13048 Accepted 100
24 4 0007.4 87668 13016 Accepted 100
25 4 0006.4 87668 12916 Accepted 100
26 4 0007.4 87804 13192 Accepted 100
27 4 0009.1 87800 13768 Accepted 100
28 4 0024.1 89524 17956 Accepted 100
29 4 0029.8 89528 18120 Accepted 100
30 4 0366.8 104984 63780 Accepted 100
31 4 0641.9 122300 115836 Accepted 100
32 4 0921.8 123056 116548 Accepted 100
33 4 0828.2 121776 115412 Accepted 100
34 4 0006.8 87668 13216 Accepted 100
35 4 0007.1 87668 13024 Accepted 100
36 4 0008.1 87808 13220 Accepted 100
37 4 0016.0 88628 16080 Accepted 100
38 4 0141.0 96828 42440 Accepted 100
39 4 0606.2 119212 106164 Accepted 100
40 4 0633.3 119100 106028 Accepted 100
41 4 0537.3 113908 100644 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
4.59 KB
Back to Top