Still having doubt!

https://www.codechef.com/submit/complete/28599388
why TLE??