Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

25576
387492
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 4796 Accepted 100
1 1 4 0020.0 5680 Accepted 100
2 1 4 0064.0 5676 Accepted 100
3 1 4 0096.0 5980 Accepted 100
4 1 4 0072.0 5672 Accepted 100
5 1 4 0112.0 7848 Accepted 100
6 1 4 0052.0 4848 Accepted 100
7 1 4 0064.0 7028 Accepted 100
8 1 4 0128.0 7944 Accepted 100
9 1 4 0004.0 4764 Accepted 100
10 2 4 0948.0 290248 Accepted 100
11 2 4 0452.0 373780 Accepted 100
12 2 4 1132.0 368104 Accepted 100
13 2 4 0388.0 208264 Accepted 100
14 2 4 0428.0 173664 Accepted 100
15 2 4 0352.0 231376 Accepted 100
16 2 4 1024.0 326172 Accepted 100
17 2 4 0340.0 228596 Accepted 100
18 2 4 0304.0 275288 Accepted 100
19 2 4 0416.0 305944 Accepted 100
20 3 4 0984.0 263840 Accepted 100
21 3 4 0816.0 191692 Accepted 100
22 3 4 1460.0 387492 Accepted 100
23 3 4 1184.0 346772 Accepted 100
24 3 4 1456.0 335768 Accepted 100
25 3 4 0732.0 161692 Accepted 100
26 3 4 1096.0 286352 Accepted 100
27 3 4 1016.0 285156 Accepted 100
28 3 4 1340.0 385104 Accepted 100
29 3 4 1092.0 290120 Accepted 100
30 4 0700.0 214120 Accepted 100
31 4 0448.0 376984 Accepted 100
32 4 0496.0 351504 Accepted 100
33 4 0628.0 205848 Accepted 100
34 4 0392.0 306812 Accepted 100
35 4 0336.0 239776 Accepted 100
36 4 1032.0 357848 Accepted 100
37 4 0388.0 373704 Accepted 100
38 4 1032.0 317976 Accepted 100
39 4 0920.0 246012 Accepted 100
40 4 0336.0 275328 Accepted 100
41 4 0336.0 303000 Accepted 100
42 4 0320.0 215520 Accepted 100
43 4 0364.0 243440 Accepted 100
44 4 0276.0 247072 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.93 KB
Back to Top