Sonu Titu ques -not able to understand

Can anyone pls explain the given sample input and output.
The link for ques is: https://hack.codingblocks.com/contests/c/471/1551