GYM GCPC 2018 Problem E

Revision en2, by Deathly_Hallows, 2018-08-26 01:12:15

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

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)