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

GYM GCPC 2018 Problem E

Revision en1, by Deathly_Hallows, 2018-08-26 01:08:46

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 in the image got accepted when using long double 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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Deathly_Hallows 2018-08-26 01:12:15 41
en1 English Deathly_Hallows 2018-08-26 01:08:46 423 Initial revision (published)