This problem is in Contest(s) below:
Contest 1069:长训班二分专题
Contest 1001:搜索专题测试