Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

39600
448588
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 0032.0 42080 Accepted 100
1 1 4 0072.0 43080 Accepted 100
2 1 4 0216.0 42980 Accepted 100
3 1 4 0232.0 43232 Accepted 100
4 1 4 0244.0 42944 Accepted 100
5 1 4 0376.0 45244 Accepted 100
6 1 4 0148.0 42312 Accepted 100
7 1 4 0168.0 44412 Accepted 100
8 1 4 0432.0 45468 Accepted 100
9 1 4 0040.0 42232 Accepted 100
10 2 4 1780.0 344228 Accepted 100
11 2 4 0792.0 432660 Accepted 100
12 2 4 1564.0 426736 Accepted 100
13 2 4 0688.0 258004 Accepted 100
14 2 4 0748.0 220880 Accepted 100
15 2 4 0680.0 282188 Accepted 100
16 2 4 1952.0 382276 Accepted 100
17 2 4 0740.0 279080 Accepted 100
18 2 4 0568.0 328528 Accepted 100
19 2 4 0728.0 361000 Accepted 100
20 3 4 1140.0 317348 Accepted 100
21 3 4 1208.0 240668 Accepted 100
22 3 4 1508.0 448588 Accepted 100
23 3 4 1248.0 405552 Accepted 100
24 3 4 1816.0 393780 Accepted 100
25 3 4 0996.0 208724 Accepted 100
26 3 4 1264.0 341036 Accepted 100
27 3 4 1120.0 339956 Accepted 100
28 3 4 1336.0 446112 Accepted 100
29 3 4 1296.0 345232 Accepted 100
30 4 1008.0 263696 Accepted 100
31 4 0960.0 435948 Accepted 100
32 4 0896.0 409248 Accepted 100
33 4 1244.0 254928 Accepted 100
34 4 0852.0 361700 Accepted 100
35 4 0628.0 290944 Accepted 100
36 4 1692.0 415956 Accepted 100
37 4 0732.0 432480 Accepted 100
38 4 1512.0 373572 Accepted 100
39 4 1704.0 297680 Accepted 100
40 4 0616.0 328776 Accepted 100
41 4 0616.0 358224 Accepted 100
42 4 0688.0 265052 Accepted 100
43 4 0828.0 294748 Accepted 100
44 4 0492.0 298668 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.7 KB
Back to Top