ENTEXAM PROBLEM

entexam

#1

Why my code give wrong answer
https://www.codechef.com/viewsolution/21627416