Sichuan University Programming Contest 2021 Preliminary

F: ͶƱ