Help me in solving SYNREARG problem

My issue

Learning course: Learn C++
Problem Link: CodeChef: Practical coding for everyone