Help me in solving TIME11 problem

My issue

I don’t understand it please explain further

Learning course: BCS301: Data structures
Problem Link: https://www.codechef.com/learn/course/abesit-dsa/ABESITDS02/problems/TIME11