http://www.codechef.com/viewsolution/6569544
here is my solution. I've checked as many possible cases I can but no use, still WA.
http://www.codechef.com/viewsolution/6569544
here is my solution. I've checked as many possible cases I can but no use, still WA.