Subtask no. | Testdata Range | Constraints | Score |
---|---|---|---|
1 | 0~9 | $5 \leq a \leq 10, 1 \leq N \leq 10$ | 20 / 20 |
2 | 10~19 | $5 \leq a \leq 10, 1 \leq N \leq 10$ | 0 / 20 |
3 | 0~9, 20~29 | $5 \leq a \leq 1000, 1 \leq N \leq 1000$ | 30 / 30 |
4 | 10~19, 30~39 | $5 \leq a \leq 1000, 1 \leq N \leq 1000$ | 0 / 30 |