Question: https://www.codechef.com/COWC2018/problems/CEW3/

The only possible answers to this question are 1 and 0 - i.e. integers.

The questions mentions that “**Print the answer with precision upto 6 decimal places.**”

Notice how it says ‘upto’. So answers with less than or equal to 6 decimal digits (and that means 0 digits as well) should be accepted.

However, my solution with no decimal digits got Wrong Answer:

https://www.codechef.com/viewsolution/19732218

and the following with 6 digits got Accepted:

https://www.codechef.com/viewsolution/19737526

Note that an answer with 0 digits must be accepted, as it has always been like:

https://www.codechef.com/viewsolution/17333079

where in the question the sample answers had decimal digits, but my solution which printed integer only was accepted.