Layman explaination please

closed account (1vf9z8AR)
https://www.spoj.com/problems/AGGRCOW/

Can someone tell in very simple language how to solve this problem with binary search?
I understand what is to be done but how to do it with binary search I need help.

Topic archived. No new replies allowed.