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:
and the following with 6 digits got Accepted:
Note that an answer with 0 digits must be accepted, as it has always been like:
where in the question the sample answers had decimal digits, but my solution which printed integer only was accepted.