This problem is in Contest(s) below:
Contest 1143:20221212二分查找初学
Contest 1267:20221212二分查找初学