Can anyone tell me what's wrong with my solution

Problem
Submission