Time Limit | Memory Limit | Input File | Output File |
---|---|---|---|

2 seconds | 1024 MiB | Standard Input |
Standard Output |

Log in to submit!

If the statement isn't loading correctly, you can open it in a new tab.

- Subtask 1 (10 points) has 11 cases.
- Subtask 2 (18 points) has 40 cases.
- Subtask 3 (22 points) has 21 cases.
- Subtask 4 (50 points) has 84 cases.

- This problem has a checker
- This problem has a grader