Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

17264
411752
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 3696 Accepted 100
1 1 4 0008.0 4940 Accepted 100
2 1 4 0028.0 4880 Accepted 100
3 1 4 0032.0 5308 Accepted 100
4 1 4 0032.0 4688 Accepted 100
5 1 4 0048.0 7332 Accepted 100
6 1 4 0016.0 4032 Accepted 100
7 1 4 0024.0 6392 Accepted 100
8 1 4 0056.0 7300 Accepted 100
9 1 4 0004.0 3816 Accepted 100
10 2 4 0652.0 307072 Accepted 100
11 2 4 0404.0 395304 Accepted 100
12 2 4 0716.0 389956 Accepted 100
13 2 4 0284.0 219768 Accepted 100
14 2 4 0300.0 183308 Accepted 100
15 2 4 0288.0 244340 Accepted 100
16 2 4 0724.0 345300 Accepted 100
17 2 4 0272.0 241424 Accepted 100
18 2 4 0280.0 290816 Accepted 100
19 2 4 0360.0 323284 Accepted 100
20 3 4 0592.0 279856 Accepted 100
21 3 4 0528.0 203020 Accepted 100
22 3 4 0868.0 411752 Accepted 100
23 3 4 0712.0 368228 Accepted 100
24 3 4 0868.0 356548 Accepted 100
25 3 4 0420.0 171044 Accepted 100
26 3 4 0672.0 303856 Accepted 100
27 3 4 0604.0 302460 Accepted 100
28 3 4 0792.0 409164 Accepted 100
29 3 4 0660.0 307840 Accepted 100
30 4 0428.0 226400 Accepted 100
31 4 0400.0 398856 Accepted 100
32 4 0420.0 371884 Accepted 100
33 4 0424.0 217708 Accepted 100
34 4 0352.0 324572 Accepted 100
35 4 0276.0 253032 Accepted 100
36 4 0700.0 379096 Accepted 100
37 4 0384.0 395076 Accepted 100
38 4 0648.0 336692 Accepted 100
39 4 0572.0 260380 Accepted 100
40 4 0296.0 291044 Accepted 100
41 4 0316.0 320388 Accepted 100
42 4 0252.0 227588 Accepted 100
43 4 0300.0 257216 Accepted 100
44 4 0252.0 260940 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.81 KB
Back to Top