MTRICK-getting WA...

jan14

#1

Can anyone please check my solution…I am unable to find mistake…it is giving WA…
http://www.codechef.com/viewsolution/4316478