Runtime Error SIGTSTP, Status: Time Limit Exceeded

Im constantly getting this error even when my code is working perfectly on my pc and even on selecting custom input on Codeshef IDE. But when deselecting custom output i’m getting this error i don’t know what is wrong. Help would be appreciated.

link to my code [https://www.codechef.com/viewsolution/34343257]