I was trying this problem — https://mirror.codeforces.com/problemset/problem/348/A
Its a simple binary search problem but it shows wrong answer — https://mirror.codeforces.com/contest/348/submission/235257891
I changed my high to 1e14 from 1e16 and its accepted. I am unable to understand what was the reason behind the error.... please let me know if anyone have a clue about it :))
Thanks