Help me in solving ARRAYARR2 problem

My issue

Don’t understand your approach

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