Let's say I have boundaries left and right, which are doubles and I want to do binary search. How long should I iterate to be sure that given error isn't too big.
For example, in the last contest there was a problem http://codeforces.com/contest/579/problem/E
I saw some codes and authors use 100, 200 etc iterations