Subtask no. | Testdata Range | Constraints | Score |
---|---|---|---|
1 | 0~2 | $N = 1$ | 4 / 4 |
2 | 3~7 | $1\leq N \leq \sum |S_i| \leq 20$ | 0 / 6 |
3 | 3~17 | $1\leq N \leq\sum |S_i| \leq 300$ | 0 / 15 |
4 | 3~26 | $1\leq N \leq\sum |S_i| \leq 3500$ | 0 / 25 |
5 | 0~39 | $1\leq N \leq\sum |S_i| \leq 2 \times 10^ 5$ | 0 / 50 |