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.
Python 3.10
Often i get output like this:
when actually the two pair of points that my code outputs have the same distance (
0.008166310501669808
if you check).Also, my solution looks like
O(nlogn)
but it still goes out of time.Returning "" (an empty string) crashes the program with C11, while it doesn't crash with C18.