Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

17324
411740
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 3700 Accepted 100
1 1 4 0008.0 5040 Accepted 100
2 1 4 0028.0 4764 Accepted 100
3 1 4 0032.0 5120 Accepted 100
4 1 4 0028.0 4664 Accepted 100
5 1 4 0048.0 7128 Accepted 100
6 1 4 0016.0 4096 Accepted 100
7 1 4 0024.0 6440 Accepted 100
8 1 4 0056.0 7352 Accepted 100
9 1 4 0000.0 3800 Accepted 100
10 2 4 0652.0 307152 Accepted 100
11 2 4 0404.0 395440 Accepted 100
12 2 4 0708.0 389796 Accepted 100
13 2 4 0280.0 219796 Accepted 100
14 2 4 0296.0 183232 Accepted 100
15 2 4 0292.0 244280 Accepted 100
16 2 4 0716.0 345260 Accepted 100
17 2 4 0272.0 241500 Accepted 100
18 2 4 0284.0 290824 Accepted 100
19 2 4 0352.0 323316 Accepted 100
20 3 4 0604.0 279940 Accepted 100
21 3 4 0512.0 203156 Accepted 100
22 3 4 0856.0 411740 Accepted 100
23 3 4 0712.0 368336 Accepted 100
24 3 4 0868.0 356544 Accepted 100
25 3 4 0432.0 171140 Accepted 100
26 3 4 0676.0 303892 Accepted 100
27 3 4 0612.0 302580 Accepted 100
28 3 4 0804.0 409140 Accepted 100
29 3 4 0660.0 308024 Accepted 100
30 4 0424.0 226468 Accepted 100
31 4 0404.0 398840 Accepted 100
32 4 0416.0 371900 Accepted 100
33 4 0428.0 217624 Accepted 100
34 4 0348.0 324608 Accepted 100
35 4 0284.0 252976 Accepted 100
36 4 0688.0 378984 Accepted 100
37 4 0372.0 395180 Accepted 100
38 4 0660.0 336592 Accepted 100
39 4 0616.0 260336 Accepted 100
40 4 0304.0 291104 Accepted 100
41 4 0320.0 320388 Accepted 100
42 4 0276.0 227720 Accepted 100
43 4 0300.0 257176 Accepted 100
44 4 0252.0 260940 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.51 KB
Back to Top