Please read the new rule regarding the restriction on the use of AI tools. ×

Unable to find the reason for the wrong Answer

Revision en1, by cschill, 2023-12-01 20:06:40

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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English cschill 2023-12-01 20:06:40 451 Initial revision (published)