Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

27046
383292
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 0004.0 384092 4852 Accepted 100
1 1 4 0020.0 384092 5836 Accepted 100
2 1 4 0058.3 384092 5724 Accepted 100
3 1 4 0090.6 384092 6112 Accepted 100
4 1 4 0062.0 384092 5620 Accepted 100
5 1 4 0096.4 384092 7996 Accepted 100
6 1 4 0050.3 384092 5060 Accepted 100
7 1 4 0062.2 384092 7052 Accepted 100
8 1 4 0107.5 384092 8072 Accepted 100
9 1 4 0005.8 384092 4928 Accepted 100
10 2 4 0922.1 386204 289008 Accepted 100
11 2 4 0852.4 387436 372048 Accepted 100
12 2 4 1015.1 386864 366472 Accepted 100
13 2 4 0591.3 385864 207524 Accepted 100
14 2 4 0462.8 385280 172940 Accepted 100
15 2 4 0624.5 385828 230492 Accepted 100
16 2 4 1045.9 386468 324776 Accepted 100
17 2 4 0558.0 385820 227636 Accepted 100
18 2 4 0623.1 387076 274100 Accepted 100
19 2 4 0744.0 387160 304656 Accepted 100
20 3 4 0738.8 385676 261036 Accepted 100
21 3 4 0650.4 385148 189752 Accepted 100
22 3 4 1016.0 386468 383292 Accepted 100
23 3 4 0863.0 386204 343116 Accepted 100
24 3 4 1050.7 386072 332208 Accepted 100
25 3 4 0535.0 385016 160092 Accepted 100
26 3 4 0798.2 385808 283256 Accepted 100
27 3 4 0751.0 385808 281924 Accepted 100
28 3 4 0970.0 386336 381068 Accepted 100
29 3 4 0813.5 385808 287104 Accepted 100
30 4 0591.2 385676 213300 Accepted 100
31 4 0833.7 387020 375136 Accepted 100
32 4 0868.8 387348 350192 Accepted 100
33 4 0629.3 385544 205160 Accepted 100
34 4 0709.2 386472 305456 Accepted 100
35 4 0600.1 385992 238636 Accepted 100
36 4 1045.0 386732 356512 Accepted 100
37 4 0825.2 387436 371972 Accepted 100
38 4 0906.9 386468 316528 Accepted 100
39 4 0834.3 385940 245088 Accepted 100
40 4 0651.8 387076 274368 Accepted 100
41 4 0692.8 387148 301712 Accepted 100
42 4 0520.7 385724 214580 Accepted 100
43 4 0602.2 386016 242364 Accepted 100
44 4 0551.7 386020 246068 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.49 KB
Back to Top