WA in ANUCBC

can some one tell me whats the wrong in my submission for ANUCBC i used the same approach described in editorial
it will be a great help

thnx.

//