Please note that the original problem statement contains errors.
Please refer to the (alt) version of the problem statement for the scoring rules. That is:
| Subtask ID | Score | $n \leq $ | $p$ |
|---|---|---|---|
| $1$ | $26$ | $10$ | $[0, 2]$ |
| $2$ | $29$ | $21$ | $0$ |
| $3$ | $23$ | $21$ | $1$ |
| $4$ | $22$ | $21$ | $2$ |