Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

17416
411780
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 3672 Accepted 100
1 1 4 0008.0 4912 Accepted 100
2 1 4 0028.0 4792 Accepted 100
3 1 4 0032.0 5208 Accepted 100
4 1 4 0028.0 4840 Accepted 100
5 1 4 0048.0 7320 Accepted 100
6 1 4 0016.0 4164 Accepted 100
7 1 4 0024.0 6388 Accepted 100
8 1 4 0056.0 7360 Accepted 100
9 1 4 0004.0 3880 Accepted 100
10 2 4 0656.0 307144 Accepted 100
11 2 4 0408.0 395344 Accepted 100
12 2 4 0716.0 389956 Accepted 100
13 2 4 0280.0 219784 Accepted 100
14 2 4 0304.0 183196 Accepted 100
15 2 4 0292.0 244320 Accepted 100
16 2 4 0732.0 345244 Accepted 100
17 2 4 0272.0 241496 Accepted 100
18 2 4 0284.0 290836 Accepted 100
19 2 4 0352.0 323312 Accepted 100
20 3 4 0588.0 279860 Accepted 100
21 3 4 0536.0 203168 Accepted 100
22 3 4 0880.0 411780 Accepted 100
23 3 4 0728.0 368392 Accepted 100
24 3 4 0872.0 356544 Accepted 100
25 3 4 0424.0 171104 Accepted 100
26 3 4 0692.0 303856 Accepted 100
27 3 4 0604.0 302580 Accepted 100
28 3 4 0804.0 409172 Accepted 100
29 3 4 0660.0 307932 Accepted 100
30 4 0424.0 226312 Accepted 100
31 4 0420.0 398872 Accepted 100
32 4 0440.0 371884 Accepted 100
33 4 0436.0 217620 Accepted 100
34 4 0352.0 324612 Accepted 100
35 4 0280.0 253032 Accepted 100
36 4 0696.0 378944 Accepted 100
37 4 0376.0 395100 Accepted 100
38 4 0636.0 336616 Accepted 100
39 4 0596.0 260372 Accepted 100
40 4 0304.0 291060 Accepted 100
41 4 0316.0 320408 Accepted 100
42 4 0260.0 227588 Accepted 100
43 4 0300.0 257144 Accepted 100
44 4 0252.0 261008 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.5 KB
Back to Top