Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

28680
415716
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 4520 Accepted 100
1 1 4 0024.0 5684 Accepted 100
2 1 4 0072.0 5556 Accepted 100
3 1 4 0124.0 6012 Accepted 100
4 1 4 0080.0 5532 Accepted 100
5 1 4 0136.0 7864 Accepted 100
6 1 4 0064.0 4708 Accepted 100
7 1 4 0084.0 7124 Accepted 100
8 1 4 0148.0 8004 Accepted 100
9 1 4 0004.0 4488 Accepted 100
10 2 4 1004.0 310412 Accepted 100
11 2 4 0900.0 399204 Accepted 100
12 2 4 1004.0 393772 Accepted 100
13 2 4 0680.0 222252 Accepted 100
14 2 4 0464.0 185492 Accepted 100
15 2 4 0696.0 246840 Accepted 100
16 2 4 1132.0 348704 Accepted 100
17 2 4 0600.0 244020 Accepted 100
18 2 4 0636.0 293768 Accepted 100
19 2 4 0780.0 326540 Accepted 100
20 3 4 0744.0 282876 Accepted 100
21 3 4 0728.0 205508 Accepted 100
22 3 4 1052.0 415716 Accepted 100
23 3 4 0880.0 371876 Accepted 100
24 3 4 1140.0 360008 Accepted 100
25 3 4 0612.0 173100 Accepted 100
26 3 4 0828.0 306892 Accepted 100
27 3 4 0756.0 305540 Accepted 100
28 3 4 0956.0 413116 Accepted 100
29 3 4 0860.0 311088 Accepted 100
30 4 0608.0 229016 Accepted 100
31 4 0860.0 402736 Accepted 100
32 4 0984.0 375420 Accepted 100
33 4 0712.0 220032 Accepted 100
34 4 0728.0 327824 Accepted 100
35 4 0668.0 255792 Accepted 100
36 4 1060.0 382772 Accepted 100
37 4 0848.0 398924 Accepted 100
38 4 0936.0 340096 Accepted 100
39 4 0900.0 263136 Accepted 100
40 4 0688.0 293928 Accepted 100
41 4 0708.0 323684 Accepted 100
42 4 0568.0 230240 Accepted 100
43 4 0668.0 259832 Accepted 100
44 4 0556.0 263624 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
4.95 KB
Back to Top