Why my solution shows time limit exceeded


#1

Comment body goes here.