Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

17264
411596
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 3764 Accepted 100
1 1 4 0008.0 4916 Accepted 100
2 1 4 0028.0 4996 Accepted 100
3 1 4 0032.0 5244 Accepted 100
4 1 4 0028.0 4692 Accepted 100
5 1 4 0048.0 7244 Accepted 100
6 1 4 0016.0 4140 Accepted 100
7 1 4 0024.0 6488 Accepted 100
8 1 4 0056.0 7360 Accepted 100
9 1 4 0000.0 3824 Accepted 100
10 2 4 0656.0 307116 Accepted 100
11 2 4 0396.0 395356 Accepted 100
12 2 4 0728.0 389980 Accepted 100
13 2 4 0280.0 219796 Accepted 100
14 2 4 0292.0 183364 Accepted 100
15 2 4 0296.0 244308 Accepted 100
16 2 4 0708.0 345212 Accepted 100
17 2 4 0264.0 241484 Accepted 100
18 2 4 0288.0 290796 Accepted 100
19 2 4 0352.0 323244 Accepted 100
20 3 4 0604.0 279920 Accepted 100
21 3 4 0508.0 203092 Accepted 100
22 3 4 0856.0 411596 Accepted 100
23 3 4 0712.0 368292 Accepted 100
24 3 4 0880.0 356540 Accepted 100
25 3 4 0440.0 171040 Accepted 100
26 3 4 0656.0 303808 Accepted 100
27 3 4 0616.0 302528 Accepted 100
28 3 4 0796.0 409180 Accepted 100
29 3 4 0672.0 307944 Accepted 100
30 4 0420.0 226492 Accepted 100
31 4 0412.0 398880 Accepted 100
32 4 0416.0 371892 Accepted 100
33 4 0432.0 217660 Accepted 100
34 4 0348.0 324600 Accepted 100
35 4 0284.0 253008 Accepted 100
36 4 0700.0 379052 Accepted 100
37 4 0372.0 395128 Accepted 100
38 4 0632.0 336628 Accepted 100
39 4 0592.0 260408 Accepted 100
40 4 0296.0 291068 Accepted 100
41 4 0312.0 320380 Accepted 100
42 4 0260.0 227632 Accepted 100
43 4 0296.0 257136 Accepted 100
44 4 0252.0 260936 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.5 KB
Back to Top