Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

33616
388504
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 3456 Accepted 100
1 1 4 0016.0 3492 Accepted 100
2 1 4 0056.0 3540 Accepted 100
3 1 4 0084.0 3736 Accepted 100
4 1 4 0056.0 3572 Accepted 100
5 1 4 0096.0 4888 Accepted 100
6 1 4 0044.0 3432 Accepted 100
7 1 4 0056.0 4308 Accepted 100
8 1 4 0108.0 4880 Accepted 100
9 1 4 0004.0 3468 Accepted 100
10 2 4 0432.0 289640 Accepted 100
11 2 4 0376.0 373180 Accepted 100
12 2 4 0412.0 367676 Accepted 100
13 2 4 0272.0 194960 Accepted 100
14 2 4 0188.0 161972 Accepted 100
15 2 4 0284.0 216360 Accepted 100
16 2 4 0484.0 325704 Accepted 100
17 2 4 0224.0 213972 Accepted 100
18 2 4 0256.0 274948 Accepted 100
19 2 4 0328.0 305492 Accepted 100
20 3 4 1364.0 264032 Accepted 100
21 3 4 0780.0 179828 Accepted 100
22 3 4 1520.0 388504 Accepted 100
23 3 4 1296.0 347572 Accepted 100
24 3 4 1448.0 336436 Accepted 100
25 3 4 0708.0 151456 Accepted 100
26 3 4 1100.0 286724 Accepted 100
27 3 4 1116.0 285416 Accepted 100
28 3 4 1412.0 386268 Accepted 100
29 3 4 1160.0 290600 Accepted 100
30 4 1060.0 200108 Accepted 100
31 4 1436.0 376152 Accepted 100
32 4 1380.0 351032 Accepted 100
33 4 1004.0 192524 Accepted 100
34 4 1196.0 306192 Accepted 100
35 4 0928.0 224144 Accepted 100
36 4 1888.0 357612 Accepted 100
37 4 1344.0 373156 Accepted 100
38 4 1716.0 317500 Accepted 100
39 4 1348.0 230308 Accepted 100
40 4 1048.0 275072 Accepted 100
41 4 1096.0 302748 Accepted 100
42 4 0724.0 201308 Accepted 100
43 4 0892.0 227508 Accepted 100
44 4 0876.0 231032 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.24 KB
Back to Top