Are output for GEO1 August Long Challenge test cases wrong?

Disclaimer: this post is not for discussion of the problem GEO1, I just want to confirm if the test cases are correct…

For the sample cases given, I’m getting output as:


whereas the sample output is bit different, so I want to just confirm from anyone who have solved this…

Also, I get my result as shown below. So, I think my output is correct, as 2 AC’s are impossible with a code that is failing sample cases :man_shrugging:

Hi, since the relative error limit is high, so maybe that’s why your code is passing the first 2 tests, but the sample tests are perfectly fine.

1 Like

Yes! thanks for confirming. I just realized that there was a slight error in my logic too.