QOJ.ac

QOJ

Time Limit: 2 s Memory Limit: 1024 MB Total points: 100
统计

Note: on QOJ, the partial scoring in Subtask 2, 3, 4 is shown as separated subtasks. Subtask 2 ~ 4 corresponds to the test groups in Subtask 2 of the problem, Subtask 5 ~ 7 corresponds to the test groups in Subtask 3 of the problem, and Subtask 8 ~ 10 corresponds to the test groups in Subtask 4 of the problem.