Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

24256
363732
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 0004.0 8640 Accepted 100
1 1 4 0020.0 8864 Accepted 100
2 1 4 0056.0 10620 Accepted 100
3 1 4 0080.0 8748 Accepted 100
4 1 4 0060.0 10364 Accepted 100
5 1 4 0088.0 11696 Accepted 100
6 1 4 0044.0 8268 Accepted 100
7 1 4 0056.0 9008 Accepted 100
8 1 4 0100.0 11900 Accepted 100
9 1 4 0008.0 8748 Accepted 100
10 2 4 1380.0 209388 Accepted 100
11 2 4 0296.0 56212 Accepted 100
12 2 4 1692.0 263100 Accepted 100
13 2 4 0248.0 34880 Accepted 100
14 2 4 0552.0 97768 Accepted 100
15 2 4 0248.0 38028 Accepted 100
16 2 4 1348.0 193304 Accepted 100
17 2 4 0292.0 52288 Accepted 100
18 2 4 0196.0 43600 Accepted 100
19 2 4 0264.0 47468 Accepted 100
20 3 4 0872.0 243960 Accepted 100
21 3 4 0736.0 175312 Accepted 100
22 3 4 1268.0 363732 Accepted 100
23 3 4 1084.0 327192 Accepted 100
24 3 4 1260.0 316036 Accepted 100
25 3 4 0616.0 147144 Accepted 100
26 3 4 0968.0 266544 Accepted 100
27 3 4 0916.0 265328 Accepted 100
28 3 4 1208.0 362824 Accepted 100
29 3 4 0988.0 270320 Accepted 100
30 4 0784.0 157200 Accepted 100
31 4 0368.0 80776 Accepted 100
32 4 0320.0 53364 Accepted 100
33 4 0656.0 125156 Accepted 100
34 4 0336.0 67264 Accepted 100
35 4 0216.0 38980 Accepted 100
36 4 1164.0 211312 Accepted 100
37 4 0260.0 56252 Accepted 100
38 4 1148.0 248408 Accepted 100
39 4 0968.0 194064 Accepted 100
40 4 0204.0 43580 Accepted 100
41 4 0204.0 47196 Accepted 100
42 4 0236.0 49824 Accepted 100
43 4 0288.0 55096 Accepted 100
44 4 0156.0 39904 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
5.03 KB
Back to Top