Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

14008
375356
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 4544 Accepted 100
1 1 4 0020.0 4848 Accepted 100
2 1 4 0072.0 4908 Accepted 100
3 1 4 0112.0 4816 Accepted 100
4 1 4 0076.0 4972 Accepted 100
5 1 4 0116.0 5848 Accepted 100
6 1 4 0064.0 4568 Accepted 100
7 1 4 0072.0 5044 Accepted 100
8 1 4 0128.0 6108 Accepted 100
9 1 4 0004.0 4628 Accepted 100
10 2 4 0588.0 208548 Accepted 100
11 2 4 0204.0 78048 Accepted 100
12 2 4 0592.0 279040 Accepted 100
13 2 4 0236.0 45120 Accepted 100
14 2 4 0232.0 101008 Accepted 100
15 2 4 0232.0 49468 Accepted 100
16 2 4 0616.0 206284 Accepted 100
17 2 4 0176.0 63388 Accepted 100
18 2 4 0136.0 58176 Accepted 100
19 2 4 0216.0 64644 Accepted 100
20 3 4 0524.0 250624 Accepted 100
21 3 4 0504.0 177868 Accepted 100
22 3 4 0720.0 375356 Accepted 100
23 3 4 0592.0 334228 Accepted 100
24 3 4 0804.0 323184 Accepted 100
25 3 4 0420.0 147752 Accepted 100
26 3 4 0592.0 273180 Accepted 100
27 3 4 0512.0 272156 Accepted 100
28 3 4 0648.0 373016 Accepted 100
29 3 4 0592.0 277208 Accepted 100
30 4 0360.0 162904 Accepted 100
31 4 0204.0 102392 Accepted 100
32 4 0276.0 73528 Accepted 100
33 4 0372.0 120244 Accepted 100
34 4 0188.0 83928 Accepted 100
35 4 0192.0 51048 Accepted 100
36 4 0556.0 227368 Accepted 100
37 4 0164.0 77904 Accepted 100
38 4 0548.0 246860 Accepted 100
39 4 0552.0 184100 Accepted 100
40 4 0168.0 58500 Accepted 100
41 4 0148.0 64092 Accepted 100
42 4 0164.0 60032 Accepted 100
43 4 0208.0 67312 Accepted 100
44 4 0108.0 52592 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.17 KB
Back to Top