Can anyone explain why i am getting run time error in this ffl problem?

Submission code:85930865
Link : CodeChef | Competitive Programming | Participate & Learn

Please help me resolve this issue.