my code is this. why a i am getting TLE .https://ide.codingblocks.com/s/78054
Time Limit Exceeded Error
because as per the constraints n<=pow(10,18).
as the compiler runs only for pow(10,7) in one second.
therefore find another solution for the problem.
you cant run a loop till n