Subtask no. | Testdata Range | Constraints | Score |
---|---|---|---|
1 | 0~4 | $a_i \geq 0$ | 6 / 6 |
2 | 5~13 | $n \leq 10$ | 9 / 9 |
3 | 14~28 | $n \leq 400, m = 0$ | 12 / 12 |
4 | 5~42 | $n \leq 400$ | 0 / 14 |
5 | 14~28, 43~56 | $n \leq 5000, m = 0$ | 0 / 21 |
6 | 0~70 | $n \leq 5000$ | 0 / 24 |
7 | 0~81 | 無其他限制 | 0 / 14 |