This problem is in Contest(s) below:
Contest 1047:暑期集训测试(一)