Implementation for ARRGAME2, getting WA.

I am trying to solve ARRGAME2 after referring the editorial.

i made necessary corrections and still getting WA.

i feel it is now related to precision.

here is my well commented solution:
http://www.codechef.com/viewsolution/2838566

please let me know of any missing cases, thank you.

I have got almost 15 WAs and i am exhausted.

help will mean a lot.

done! thanks a lot anyway.

finally an AC ! after about 20 WAs.