Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
root of the issue: unlike other languages, C compares the expected and actual values with approximate equality post-rounding, not strict equality post-rounding. and the epsilon used to compare and print the numbers is
1e-5
, while the description asks for rounding to1e-4
. also, there is a bug in the random tests that make them generate the same coordinates for every test.here is a fork that fixes all that, also improves the description and makes it language-agnostic + Markdown instead of HTML
I'm assuming he's talking about C, seeing as that's the language he solved it in.
In what language does this happen?
From the description: