ravi_sumit33's blog

By ravi_sumit33, history, 3 months ago, In English

My submission for problem E of Codeforces Round 971 (Div. 4) 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 :) **

  • Vote: I like it
  • -8
  • Vote: I do not like it

»
3 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by ravi_sumit33 (previous revision, new revision, compare).