Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

24556
384968
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 4680 Accepted 100
1 1 4 0016.0 5796 Accepted 100
2 1 4 0060.0 5536 Accepted 100
3 1 4 0088.0 6028 Accepted 100
4 1 4 0064.0 5548 Accepted 100
5 1 4 0100.0 7880 Accepted 100
6 1 4 0048.0 4772 Accepted 100
7 1 4 0060.0 6984 Accepted 100
8 1 4 0116.0 7812 Accepted 100
9 1 4 0004.0 4556 Accepted 100
10 2 4 0860.0 290124 Accepted 100
11 2 4 0772.0 373776 Accepted 100
12 2 4 0928.0 368016 Accepted 100
13 2 4 0532.0 208276 Accepted 100
14 2 4 0404.0 173692 Accepted 100
15 2 4 0556.0 231048 Accepted 100
16 2 4 0984.0 326144 Accepted 100
17 2 4 0488.0 228400 Accepted 100
18 2 4 0548.0 275304 Accepted 100
19 2 4 0652.0 305932 Accepted 100
20 3 4 0668.0 261816 Accepted 100
21 3 4 0608.0 190428 Accepted 100
22 3 4 0928.0 384968 Accepted 100
23 3 4 0768.0 344372 Accepted 100
24 3 4 1012.0 333512 Accepted 100
25 3 4 0508.0 160432 Accepted 100
26 3 4 0752.0 284220 Accepted 100
27 3 4 0680.0 283040 Accepted 100
28 3 4 0864.0 382616 Accepted 100
29 3 4 0740.0 288032 Accepted 100
30 4 0548.0 214012 Accepted 100
31 4 0724.0 376708 Accepted 100
32 4 0784.0 351492 Accepted 100
33 4 0592.0 205964 Accepted 100
34 4 0628.0 306564 Accepted 100
35 4 0520.0 239624 Accepted 100
36 4 0952.0 357968 Accepted 100
37 4 0712.0 373440 Accepted 100
38 4 0860.0 317680 Accepted 100
39 4 0788.0 245896 Accepted 100
40 4 0576.0 275308 Accepted 100
41 4 0588.0 302884 Accepted 100
42 4 0456.0 215264 Accepted 100
43 4 0540.0 243136 Accepted 100
44 4 0480.0 246880 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.49 KB
Back to Top