Note that the official tests contain 10 separate subtasks.
QOJ.ac
QOJ
QOJ will undergo maintenance on July 5th from 02:00 to 04:00 (UTC +8). The service may be unavailable during this time.
Note that the official tests contain 10 separate subtasks.