This problem is in Contest(s) below:
Contest 1297:二分法