This problem is in Contest(s) below:
Contest 1451:训练六