Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

25228
381536
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 0024.0 26136 Accepted 100
1 1 4 0036.0 26464 Accepted 100
2 1 4 0076.0 27956 Accepted 100
3 1 4 0100.0 26364 Accepted 100
4 1 4 0080.0 27972 Accepted 100
5 1 4 0108.0 29160 Accepted 100
6 1 4 0064.0 25812 Accepted 100
7 1 4 0076.0 26584 Accepted 100
8 1 4 0120.0 29400 Accepted 100
9 1 4 0028.0 26240 Accepted 100
10 2 4 1396.0 227092 Accepted 100
11 2 4 0316.0 73948 Accepted 100
12 2 4 1772.0 280728 Accepted 100
13 2 4 0272.0 52500 Accepted 100
14 2 4 0572.0 115472 Accepted 100
15 2 4 0276.0 55476 Accepted 100
16 2 4 1440.0 211012 Accepted 100
17 2 4 0312.0 69876 Accepted 100
18 2 4 0224.0 61140 Accepted 100
19 2 4 0280.0 65188 Accepted 100
20 3 4 0856.0 261552 Accepted 100
21 3 4 0752.0 192792 Accepted 100
22 3 4 1240.0 381536 Accepted 100
23 3 4 1072.0 344632 Accepted 100
24 3 4 1252.0 333808 Accepted 100
25 3 4 0616.0 164684 Accepted 100
26 3 4 0976.0 284016 Accepted 100
27 3 4 0908.0 282744 Accepted 100
28 3 4 1188.0 380620 Accepted 100
29 3 4 0988.0 288116 Accepted 100
30 4 0816.0 174676 Accepted 100
31 4 0404.0 98480 Accepted 100
32 4 0352.0 70956 Accepted 100
33 4 0684.0 142844 Accepted 100
34 4 0360.0 85032 Accepted 100
35 4 0244.0 56684 Accepted 100
36 4 1232.0 228744 Accepted 100
37 4 0288.0 73860 Accepted 100
38 4 1204.0 266064 Accepted 100
39 4 1004.0 211572 Accepted 100
40 4 0236.0 61160 Accepted 100
41 4 0232.0 64824 Accepted 100
42 4 0260.0 67392 Accepted 100
43 4 0312.0 72664 Accepted 100
44 4 0180.0 57504 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
5.12 KB
Back to Top