Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

19188
410904
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 4620 Accepted 100
1 1 4 0016.0 5740 Accepted 100
2 1 4 0060.0 5596 Accepted 100
3 1 4 0092.0 5984 Accepted 100
4 1 4 0068.0 5496 Accepted 100
5 1 4 0100.0 7964 Accepted 100
6 1 4 0048.0 4872 Accepted 100
7 1 4 0060.0 7112 Accepted 100
8 1 4 0116.0 7888 Accepted 100
9 1 4 0004.0 4564 Accepted 100
10 2 4 0716.0 307716 Accepted 100
11 2 4 0436.0 396132 Accepted 100
12 2 4 0756.0 390476 Accepted 100
13 2 4 0352.0 220392 Accepted 100
14 2 4 0316.0 183896 Accepted 100
15 2 4 0372.0 244972 Accepted 100
16 2 4 0788.0 345824 Accepted 100
17 2 4 0308.0 242204 Accepted 100
18 2 4 0308.0 291440 Accepted 100
19 2 4 0396.0 323944 Accepted 100
20 3 4 0632.0 279544 Accepted 100
21 3 4 0584.0 202912 Accepted 100
22 3 4 0884.0 410904 Accepted 100
23 3 4 0772.0 367504 Accepted 100
24 3 4 0952.0 355764 Accepted 100
25 3 4 0488.0 171144 Accepted 100
26 3 4 0708.0 303232 Accepted 100
27 3 4 0652.0 302136 Accepted 100
28 3 4 0856.0 408384 Accepted 100
29 3 4 0724.0 307488 Accepted 100
30 4 0464.0 227068 Accepted 100
31 4 0428.0 399456 Accepted 100
32 4 0496.0 372488 Accepted 100
33 4 0484.0 218380 Accepted 100
34 4 0376.0 325324 Accepted 100
35 4 0332.0 253748 Accepted 100
36 4 0744.0 379772 Accepted 100
37 4 0396.0 395748 Accepted 100
38 4 0664.0 337132 Accepted 100
39 4 0664.0 261044 Accepted 100
40 4 0336.0 291540 Accepted 100
41 4 0340.0 321104 Accepted 100
42 4 0292.0 228328 Accepted 100
43 4 0344.0 257812 Accepted 100
44 4 0264.0 261620 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.8 KB
Back to Top