Why i am getting TLE in super power of 2

problem link SPOTWO Problem - CodeChef

my solution CodeChef: Practical coding for everyone

mugurelionut’s solution CodeChef: Practical coding for everyone

i run both code on my codeblock on custom input many times. My code gives faster output than “mugurelionut” code (execution time on codeblock)
i cant understand why i am getting tle
PLEASE HELP!!!

You have while(t) and t never changes so it loops forever. Also you should probably use %llu to printf unsigned long longs.

1 Like

thanx
i was just…