Qualified's blog

By Qualified, history, 4 years ago, In English

Long double holds 22 digits while long long holds 18 digits. Why not use long double over long long? More space, that's for sure.

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

»
4 years ago, # |
Rev. 2   Vote: I like it +8 Vote: I do not like it

precision errors & memory

»
4 years ago, # |
Rev. 2   Vote: I like it +9 Vote: I do not like it

https://codeforces.net/contest/903/problem/D

Try this problem, you might get your answer in failed attempts.