EARTSEQ QUESTION

https://www.codechef.com/viewsolution/22395844

WHAT IS WRONG IN MY CODE??