Code execution prblm

hey what is the problem in this code it is showing time limit exceeded

Hey @Aparna
Can you post your code?