This problem is in Contest(s) below:
Contest 1389:【算法设计与分析】实验四
Contest 1397:【算法设计与分析】实验4 分治算法求解残缺棋盘问题
Contest 1525:算法实验4