Subtask no. | Testdata Range | Constraints | Score |
---|---|---|---|
1 | 0~11 | $N \leq 500, k \leq 3$ | 8 / 8 |
2 | 0~28 | $N \leq 1000, k \leq 5$ | 14 / 14 |
3 | 0~39, 41 | $N \leq 1000, k \leq 1000$ | 32 / 32 |
4 | 40, 42~54 | $N \leq 200000, k \leq 50$ | 56 / 56 |
5 | 0~72 | $N \leq 200000, k \leq 200000$ | 0 / 90 |