Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

24144
363956
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 8744 Accepted 100
1 1 4 0016.0 8820 Accepted 100
2 1 4 0060.0 10396 Accepted 100
3 1 4 0080.0 9020 Accepted 100
4 1 4 0060.0 10424 Accepted 100
5 1 4 0128.0 11700 Accepted 100
6 1 4 0044.0 8252 Accepted 100
7 1 4 0056.0 8944 Accepted 100
8 1 4 0100.0 11816 Accepted 100
9 1 4 0008.0 8792 Accepted 100
10 2 4 1392.0 209488 Accepted 100
11 2 4 0292.0 56268 Accepted 100
12 2 4 1680.0 263084 Accepted 100
13 2 4 0256.0 34908 Accepted 100
14 2 4 0548.0 97992 Accepted 100
15 2 4 0248.0 37852 Accepted 100
16 2 4 1368.0 193436 Accepted 100
17 2 4 0292.0 52480 Accepted 100
18 2 4 0200.0 43464 Accepted 100
19 2 4 0264.0 47324 Accepted 100
20 3 4 0868.0 244040 Accepted 100
21 3 4 0724.0 175228 Accepted 100
22 3 4 1232.0 363956 Accepted 100
23 3 4 1076.0 327196 Accepted 100
24 3 4 1264.0 316024 Accepted 100
25 3 4 0604.0 147120 Accepted 100
26 3 4 0944.0 266540 Accepted 100
27 3 4 0900.0 265272 Accepted 100
28 3 4 1180.0 362832 Accepted 100
29 3 4 0968.0 270408 Accepted 100
30 4 0776.0 157160 Accepted 100
31 4 0368.0 80836 Accepted 100
32 4 0324.0 53380 Accepted 100
33 4 0652.0 125432 Accepted 100
34 4 0348.0 67416 Accepted 100
35 4 0224.0 38960 Accepted 100
36 4 1140.0 211308 Accepted 100
37 4 0256.0 56372 Accepted 100
38 4 1148.0 248416 Accepted 100
39 4 0960.0 194024 Accepted 100
40 4 0204.0 43524 Accepted 100
41 4 0208.0 47096 Accepted 100
42 4 0240.0 49672 Accepted 100
43 4 0284.0 55100 Accepted 100
44 4 0156.0 39864 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
5.05 KB
Back to Top