Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

22224
382492
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 3960 Accepted 100
1 1 4 0008.0 5112 Accepted 100
2 1 4 0024.0 4852 Accepted 100
3 1 4 0028.0 5188 Accepted 100
4 1 4 0024.0 4832 Accepted 100
5 1 4 0044.0 7052 Accepted 100
6 1 4 0016.0 4104 Accepted 100
7 1 4 0020.0 6356 Accepted 100
8 1 4 0052.0 7288 Accepted 100
9 1 4 0000.0 3852 Accepted 100
10 2 4 0804.0 288144 Accepted 100
11 2 4 0732.0 371484 Accepted 100
12 2 4 0888.0 365952 Accepted 100
13 2 4 0452.0 206628 Accepted 100
14 2 4 0388.0 172212 Accepted 100
15 2 4 0476.0 229572 Accepted 100
16 2 4 0876.0 324040 Accepted 100
17 2 4 0452.0 226832 Accepted 100
18 2 4 0520.0 273240 Accepted 100
19 2 4 0608.0 303804 Accepted 100
20 3 4 0612.0 260020 Accepted 100
21 3 4 0532.0 188844 Accepted 100
22 3 4 0868.0 382492 Accepted 100
23 3 4 0728.0 342240 Accepted 100
24 3 4 0864.0 331340 Accepted 100
25 3 4 0440.0 159264 Accepted 100
26 3 4 0676.0 282336 Accepted 100
27 3 4 0624.0 281224 Accepted 100
28 3 4 0824.0 380236 Accepted 100
29 3 4 0688.0 286108 Accepted 100
30 4 0516.0 212520 Accepted 100
31 4 0700.0 374228 Accepted 100
32 4 0704.0 349284 Accepted 100
33 4 0536.0 204340 Accepted 100
34 4 0588.0 304772 Accepted 100
35 4 0460.0 237752 Accepted 100
36 4 0884.0 355784 Accepted 100
37 4 0672.0 371336 Accepted 100
38 4 0772.0 315784 Accepted 100
39 4 0688.0 244384 Accepted 100
40 4 0520.0 273416 Accepted 100
41 4 0556.0 300900 Accepted 100
42 4 0424.0 213880 Accepted 100
43 4 0484.0 241552 Accepted 100
44 4 0452.0 245156 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.88 KB
Back to Top