TIME LIMIT EXCEEDED

iam writed a code with do while loop as it goes only o(logn) it also gives TLE…
CONSTRAINTS AS FOLLOWS
1<=N<=10^18…
WHY???

If talking about FIBEASY then may your approach is wrong so it is giving you TLE. Try different or optimized approach

I’m also getting the same TLE issue.