https://gonitzoggo.com/archive/problem/135/english
In problems like this where answer is not an intezer. It should be mentioned how many numbers after decimal we should submit as a answer.
Like in this problem , we have to submit upto three number after decimal point