Help with WA

problem : MGCRNK Problem - CodeChef

solution : CodeChef: Practical coding for everyone

help please …

anyone? i guess WA has something to do with the precision thing in problem …

removed WA but,

i still don’t know what was wrong…

tell me the difference between this and this..

i got one more game for you . tell the difference between this and this.

ty.