Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

29208
412048
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 (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 0003.7 409212 4132 Accepted 100
1 1 4 0018.6 409212 5264 Accepted 100
2 1 4 0051.7 409212 5100 Accepted 100
3 1 4 0080.9 409212 5456 Accepted 100
4 1 4 0054.8 409212 5064 Accepted 100
5 1 4 0084.0 409212 7424 Accepted 100
6 1 4 0043.0 409212 4492 Accepted 100
7 1 4 0057.0 409212 6828 Accepted 100
8 1 4 0094.9 409212 7580 Accepted 100
9 1 4 0005.2 409212 4164 Accepted 100
10 2 4 0960.1 411324 307468 Accepted 100
11 2 4 0966.6 412232 395692 Accepted 100
12 2 4 1067.7 411984 390136 Accepted 100
13 2 4 0660.2 410744 220064 Accepted 100
14 2 4 0476.5 410532 183436 Accepted 100
15 2 4 0679.7 410816 244612 Accepted 100
16 2 4 1071.6 411588 345468 Accepted 100
17 2 4 0602.1 410944 241740 Accepted 100
18 2 4 0706.9 412232 291236 Accepted 100
19 2 4 0850.3 412232 323708 Accepted 100
20 3 4 0885.5 413316 280288 Accepted 100
21 3 4 0695.3 412184 203532 Accepted 100
22 3 4 1080.5 415364 412048 Accepted 100
23 3 4 0932.4 414684 368536 Accepted 100
24 3 4 1114.9 414444 356724 Accepted 100
25 3 4 0570.2 411612 171316 Accepted 100
26 3 4 0845.8 413672 304152 Accepted 100
27 3 4 0830.6 413660 302696 Accepted 100
28 3 4 1038.9 415344 409404 Accepted 100
29 3 4 0875.5 413716 308176 Accepted 100
30 4 0629.7 410804 226772 Accepted 100
31 4 0939.7 412180 399052 Accepted 100
32 4 0973.5 412232 372192 Accepted 100
33 4 0659.1 410796 217844 Accepted 100
34 4 0788.8 411588 324912 Accepted 100
35 4 0652.7 410816 253308 Accepted 100
36 4 1072.3 411852 379292 Accepted 100
37 4 0917.6 412232 395532 Accepted 100
38 4 0935.2 411692 336876 Accepted 100
39 4 0856.9 411104 260604 Accepted 100
40 4 0729.6 412232 291188 Accepted 100
41 4 0768.5 412232 320748 Accepted 100
42 4 0587.7 410820 227828 Accepted 100
43 4 0677.2 411032 257584 Accepted 100
44 4 0614.2 410816 261348 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.53 KB
Back to Top