can anyone help in understanding the input and output of atm question
Give the link to the problem.
have you read the faq? http://www.codechef.com/wiki/faq
your output needs to be exactly the same character string the robot judge is expecting, or you get WA
robot expects 120.00
latest version of your code says 120.000000