Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

46096
390864
Time Limit Exceeded
53

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$。 0 / 31
3 20~29 對於所有的 $i=1,2,\dots,n-1$,皆有 $u_i=i, v_i=i+1$。 37 / 37
4 0~44 無額外限制。 0 / 16

Testdata Results

Testdata no. Subtasks Time (ms) Memory (RSS, KiB) Verdict Score
0 1 4 0008.0 13956 Accepted 100
1 1 4 0028.0 15160 Accepted 100
2 1 4 0080.0 14916 Accepted 100
3 1 4 0104.0 15288 Accepted 100
4 1 4 0084.0 14784 Accepted 100
5 1 4 0124.0 17160 Accepted 100
6 1 4 0060.0 14388 Accepted 100
7 1 4 0076.0 16316 Accepted 100
8 1 4 0140.0 17224 Accepted 100
9 1 4 0012.0 14128 Accepted 100
10 2 4 1868.0 299508 Accepted 100
11 2 4 1612.0 382412 Accepted 100
12 2 4 2316.0 377376 Time Limit Exceeded 0
13 2 4 1008.0 217160 Accepted 100
14 2 4 0956.0 182856 Accepted 100
15 2 4 1080.0 240148 Accepted 100
16 2 4 2092.0 335216 Time Limit Exceeded 0
17 2 4 1052.0 237732 Accepted 100
18 2 4 1164.0 283844 Accepted 100
19 2 4 1348.0 314536 Accepted 100
20 3 4 1008.0 274156 Accepted 100
21 3 4 0880.0 201628 Accepted 100
22 3 4 1420.0 390864 Accepted 100
23 3 4 1252.0 357240 Accepted 100
24 3 4 1432.0 346352 Accepted 100
25 3 4 0732.0 171524 Accepted 100
26 3 4 1120.0 296676 Accepted 100
27 3 4 1068.0 295472 Accepted 100
28 3 4 1356.0 390712 Accepted 100
29 3 4 1160.0 300548 Accepted 100
30 4 1092.0 223392 Accepted 100
31 4 1556.0 385712 Accepted 100
32 4 1544.0 360172 Accepted 100
33 4 1072.0 215128 Accepted 100
34 4 1316.0 315940 Accepted 100
35 4 1032.0 248508 Accepted 100
36 4 1852.0 367188 Accepted 100
37 4 1532.0 382088 Accepted 100
38 4 1712.0 327308 Accepted 100
39 4 1420.0 255324 Accepted 100
40 4 1144.0 284112 Accepted 100
41 4 1232.0 311860 Accepted 100
42 4 0908.0 224632 Accepted 100
43 4 1052.0 252292 Accepted 100
44 4 0992.0 255832 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
4.61 KB
Back to Top