Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

24036
366900
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 0008.0 11224 Accepted 100
1 1 4 0020.0 11440 Accepted 100
2 1 4 0056.0 13044 Accepted 100
3 1 4 0084.0 11184 Accepted 100
4 1 4 0064.0 12720 Accepted 100
5 1 4 0096.0 13992 Accepted 100
6 1 4 0048.0 10536 Accepted 100
7 1 4 0056.0 11496 Accepted 100
8 1 4 0104.0 14176 Accepted 100
9 1 4 0008.0 11136 Accepted 100
10 2 4 1316.0 212412 Accepted 100
11 2 4 0288.0 58856 Accepted 100
12 2 4 1668.0 266128 Accepted 100
13 2 4 0252.0 37416 Accepted 100
14 2 4 0532.0 100572 Accepted 100
15 2 4 0248.0 40380 Accepted 100
16 2 4 1324.0 196352 Accepted 100
17 2 4 0288.0 55012 Accepted 100
18 2 4 0208.0 45840 Accepted 100
19 2 4 0260.0 50068 Accepted 100
20 3 4 0868.0 246932 Accepted 100
21 3 4 0732.0 178268 Accepted 100
22 3 4 1272.0 366900 Accepted 100
23 3 4 1104.0 330240 Accepted 100
24 3 4 1240.0 319228 Accepted 100
25 3 4 0596.0 149796 Accepted 100
26 3 4 0964.0 269448 Accepted 100
27 3 4 0912.0 268240 Accepted 100
28 3 4 1212.0 366184 Accepted 100
29 3 4 0980.0 273416 Accepted 100
30 4 0764.0 160000 Accepted 100
31 4 0368.0 83572 Accepted 100
32 4 0324.0 55936 Accepted 100
33 4 0648.0 128096 Accepted 100
34 4 0336.0 70144 Accepted 100
35 4 0212.0 41448 Accepted 100
36 4 1124.0 214328 Accepted 100
37 4 0252.0 58836 Accepted 100
38 4 1140.0 251640 Accepted 100
39 4 0964.0 196840 Accepted 100
40 4 0204.0 46192 Accepted 100
41 4 0208.0 49608 Accepted 100
42 4 0240.0 52440 Accepted 100
43 4 0288.0 57844 Accepted 100
44 4 0156.0 42400 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
4.89 KB
Back to Top