CHFAR problem

Can someone please explain the CHFAR problem of qualifier 1B? Just explanation is needed.

Ask in comments. And the question is clear enough.
Furthermore, comments or answers on this question will lead to disqualification as per codechef code of conduct.