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