This problem is in Contest(s) below:
Contest 1527:算法实验6