Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

25372
387476
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $n\leq 500$ 16 / 16
2 10~19 對於所有的 $i=1,2\dots,n-1$,皆有 $p_i=1$。 31 / 31
3 20~29 對於所有的 $i=1,2,\dots,n-1$,皆有 $u_i=i, v_i=i+1$。 37 / 37
4 0~44 無額外限制。 16 / 16

Testdata Results

Testdata no. Subtasks Time (ms) Memory (RSS, KiB) Verdict Score
0 1 4 0000.0 4612 Accepted 100
1 1 4 0020.0 5668 Accepted 100
2 1 4 0068.0 5632 Accepted 100
3 1 4 0096.0 5788 Accepted 100
4 1 4 0072.0 5548 Accepted 100
5 1 4 0108.0 7980 Accepted 100
6 1 4 0052.0 4864 Accepted 100
7 1 4 0064.0 7028 Accepted 100
8 1 4 0128.0 7924 Accepted 100
9 1 4 0004.0 4720 Accepted 100
10 2 4 0960.0 290144 Accepted 100
11 2 4 0436.0 373724 Accepted 100
12 2 4 1088.0 368100 Accepted 100
13 2 4 0396.0 208312 Accepted 100
14 2 4 0432.0 173584 Accepted 100
15 2 4 0356.0 231340 Accepted 100
16 2 4 1024.0 326052 Accepted 100
17 2 4 0332.0 228504 Accepted 100
18 2 4 0284.0 275236 Accepted 100
19 2 4 0412.0 305928 Accepted 100
20 3 4 0984.0 263804 Accepted 100
21 3 4 0808.0 191728 Accepted 100
22 3 4 1440.0 387476 Accepted 100
23 3 4 1180.0 346888 Accepted 100
24 3 4 1388.0 335764 Accepted 100
25 3 4 0728.0 161688 Accepted 100
26 3 4 1104.0 286308 Accepted 100
27 3 4 0988.0 285032 Accepted 100
28 3 4 1324.0 385132 Accepted 100
29 3 4 1072.0 290148 Accepted 100
30 4 0680.0 214116 Accepted 100
31 4 0444.0 376952 Accepted 100
32 4 0500.0 351584 Accepted 100
33 4 0624.0 205812 Accepted 100
34 4 0484.0 306904 Accepted 100
35 4 0336.0 239712 Accepted 100
36 4 1052.0 357960 Accepted 100
37 4 0400.0 373708 Accepted 100
38 4 1024.0 317896 Accepted 100
39 4 0892.0 246056 Accepted 100
40 4 0324.0 275332 Accepted 100
41 4 0340.0 303100 Accepted 100
42 4 0296.0 215480 Accepted 100
43 4 0372.0 243340 Accepted 100
44 4 0256.0 247072 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.93 KB
Back to Top