Codeforces and Polygon may be unavailable from December 6, 19:00 (UTC) to December 6, 21:00 (UTC) due to technical maintenance. ×

Deathly_Hallows's blog

By Deathly_Hallows, history, 6 years ago, In English

I am curious about one thing:

long double operations are slower than double operations, this is right or not ?

if right then how the code using long double got accepted and got time limit using double ? used compiler is C++14

TLE code : https://ideone.com/aBP7qj , submission: 42043185

ACC code: https://ideone.com/ym5SOr , submission: 42042825

  • Vote: I like it
  • +16
  • Vote: I do not like it