Subtask no. | Testdata Range | Constraints | Score |
---|---|---|---|
1 | 0~4 | $N, M \leq 5$ | 8 / 8 |
2 | 5~9 | $N \leq 2$ | 8 / 8 |
3 | 10~14 | $(N, M \leq 50), (0 \leq x_i, y_i, X_i, Y_i \leq 100)$ | 20 / 20 |
4 | 15~19 | $0 \leq x_i, y_i, X_i, Y_i, \leq 1000$ | 24 / 24 |
5 | 0~34 | No additional limits | 40 / 40 |