This problem is in Contest(s) below:
Contest 1086:2021CSP第二轮专题5-二分
Contest 1177:基础课程-二分