Weird precision bug with Apple Clang 
Difference between en1 and en2, changed 1 character(s)
My [submission](https://mirror.codeforces.com/contest/2009/submission/279648014) for problem E of [contest:2009] was exactly the bonus solution mentioned in the editorial. I spent around 1 hour debugging during the contest but the last sample case was failing. After the contest I submitted the same solution and it passed (maybe because codeforces use gcc?). I believe there is some precision bug in Apple clang. Can anyone else try this on the last sample test?↵

** Please ignore the excessive use of long double. I was getting panicked :) **

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English ravi_sumit33 2024-09-04 10:37:04 1
en1 English ravi_sumit33 2024-09-04 10:32:26 576 Initial revision (published)