Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

6615
86880
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 0005.9 54448 13516 Accepted 100
1 1 0006.3 54448 13460 Accepted 100
2 1 0005.6 54448 13432 Accepted 100
3 2 4 0005.9 54448 13384 Accepted 100
4 2 4 0005.4 54448 13476 Accepted 100
5 2 4 0005.4 54448 13472 Accepted 100
6 2 4 0006.7 54448 13808 Accepted 100
7 2 4 0019.4 55880 16992 Accepted 100
8 2 4 0294.1 70212 48072 Accepted 100
9 2 4 0789.6 90832 86880 Accepted 100
10 2 4 0876.0 84176 81204 Accepted 100
11 2 4 0872.5 87076 83816 Accepted 100
12 3 4 0005.7 54448 13476 Accepted 100
13 3 4 0005.5 54448 13440 Accepted 100
14 3 4 0005.5 54448 13436 Accepted 100
15 3 4 0005.5 54448 13436 Accepted 100
16 3 4 0005.5 54448 13524 Accepted 100
17 3 4 0005.7 54448 13468 Accepted 100
18 3 4 0005.7 54448 13480 Accepted 100
19 3 4 0008.0 54580 13996 Accepted 100
20 3 4 0023.7 55936 18808 Accepted 100
21 3 4 0180.2 61572 39048 Accepted 100
22 3 4 0344.0 69296 65444 Accepted 100
23 4 0005.7 54448 13512 Accepted 100
24 4 0005.8 54448 13600 Accepted 100
25 4 0005.5 54448 13468 Accepted 100
26 4 0006.2 54448 13588 Accepted 100
27 4 0006.4 54448 13728 Accepted 100
28 4 0015.1 55108 16100 Accepted 100
29 4 0019.9 55108 16072 Accepted 100
30 4 0212.2 61568 39040 Accepted 100
31 4 0421.1 68780 65440 Accepted 100
32 4 0571.2 68072 64632 Accepted 100
33 4 0530.1 68648 64816 Accepted 100
34 4 0005.6 54448 13512 Accepted 100
35 4 0005.6 54448 13464 Accepted 100
36 4 0006.1 54448 13692 Accepted 100
37 4 0011.5 54844 15016 Accepted 100
38 4 0089.7 58408 28916 Accepted 100
39 4 0419.0 65800 59328 Accepted 100
40 4 0437.5 65668 59324 Accepted 100
41 4 0352.4 66328 59876 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
8.66 KB
Back to Top