Ela's Fitness and the Luxury Number
https://codeforces.me/contest/1737/submission/176165907
You may say I have defined $$$lcge$$$ in the wrong place,but that's even worse:https://codeforces.me/contest/1737/submission/176166395
I think it should get Accepted,so some of the details are wrong?
Try to use sqrtl instead of sqrt since you'll use it for long long type numbers.