06_codechef_potatoes AC with binary search