对于所有数据,$0 ⩽ p ⩽ 10^9,$ $0 < x_1 < x_2 < \dots < x_n ⩽ 10^9,$ $0 < a_i ⩽ 10^6,$ $0 < y_1 < y_2 < \dots < y_m ⩽ 10^9,$ $0 < b_j ,c_j ⩽ 10 ^6.$
| 子任务 # |
分值 |
$1 ⩽ n,m ⩽ $ |
附加条件 |
依赖子任务 |
| 1 |
16 |
$\phantom{0}50\:000$ |
$p = 0$ |
|
| 2 |
9 |
$\phantom{0}50\:000$ |
$y_m < x_1$ |
1 |
| 3 |
16 |
$\phantom{0}50\:000$ |
$x_n < y_1$ |
1 |
| 4 |
11 |
$\phantom{00}1\:000$ |
无 |
|
| 5 |
9 |
$\phantom{00}8\:500$ |
无 |
4 |
| 6 |
20 |
$\phantom{0}50\:000$ |
无 |
1–5 |
| 7 |
6 |
$200\:000$ |
无 |
1–6 |
| 8 |
7 |
$320\:000$ |
无 |
1–7 |
| 9 |
6 |
$500\:000$ |
无 |
1–8 |