Notes: [Post-CCO edit: Subtasks 4 and 5 may not be solvable efficiently. CCO competitors were judged only on subtasks 1-3.]
请注意:由于标程存在问题,Subtask 4 与 Subtask 5 暂时未知是否可解决。因此,在评测时,我们会忽略最后两个字任务,只评测前三个子任务。也因此,本题的满分只有 12 分。
Notes: [Post-CCO edit: Subtasks 4 and 5 may not be solvable efficiently. CCO competitors were judged only on subtasks 1-3.]
请注意:由于标程存在问题,Subtask 4 与 Subtask 5 暂时未知是否可解决。因此,在评测时,我们会忽略最后两个字任务,只评测前三个子任务。也因此,本题的满分只有 12 分。