Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

45288
414168
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 4504 Accepted 100
1 1 4 0160.0 5832 Accepted 100
2 1 4 0508.0 5524 Accepted 100
3 1 4 0932.0 5972 Accepted 100
4 1 4 0556.0 5420 Accepted 100
5 1 4 0732.0 7956 Accepted 100
6 1 4 0512.0 4920 Accepted 100
7 1 4 0588.0 7108 Accepted 100
8 1 4 0820.0 8044 Accepted 100
9 1 4 0020.0 4584 Accepted 100
10 2 4 1556.0 308084 Accepted 100
11 2 4 1124.0 396196 Accepted 100
12 2 4 1268.0 390864 Accepted 100
13 2 4 1516.0 220744 Accepted 100
14 2 4 0612.0 184136 Accepted 100
15 2 4 1384.0 245276 Accepted 100
16 2 4 1832.0 346168 Accepted 100
17 2 4 0848.0 242212 Accepted 100
18 2 4 0748.0 291832 Accepted 100
19 2 4 1244.0 324232 Accepted 100
20 3 4 1088.0 281792 Accepted 100
21 3 4 1352.0 204684 Accepted 100
22 3 4 1368.0 414168 Accepted 100
23 3 4 1104.0 370568 Accepted 100
24 3 4 1832.0 358844 Accepted 100
25 3 4 1052.0 172548 Accepted 100
26 3 4 1252.0 305800 Accepted 100
27 3 4 1012.0 304524 Accepted 100
28 3 4 1144.0 411736 Accepted 100
29 3 4 1280.0 309940 Accepted 100
30 4 0804.0 227192 Accepted 100
31 4 0888.0 399684 Accepted 100
32 4 1624.0 372796 Accepted 100
33 4 1144.0 218428 Accepted 100
34 4 0848.0 325360 Accepted 100
35 4 1144.0 253976 Accepted 100
36 4 1456.0 379856 Accepted 100
37 4 0892.0 396256 Accepted 100
38 4 1232.0 337520 Accepted 100
39 4 1540.0 261168 Accepted 100
40 4 0936.0 291700 Accepted 100
41 4 0844.0 321216 Accepted 100
42 4 0824.0 228332 Accepted 100
43 4 1072.0 257908 Accepted 100
44 4 0596.0 261892 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.24 KB
Back to Top