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.
Looks good to me. Sorry about the late reply. Resolved.
Hmm.. It reproduces 20/20 times, so it looks like my code really is too slow. The speed seems to decrease exponentially with the number size.
How large numbers are expected to be handled? Maybe you should put that in the instructions.
Just curious - how many tests are you running for the python solution? I've optimized my solution already several times and the test fixture tests complete in about 15ms, but submitting the solution still yields a timeout after 6000ms every time..
Thanks for the suggestion. Description updated.
Wind direction is the direction where the wind is blowing from. Runway heading is the direction of the runway from the perspective of the arriving plane. Equal directions therefore mean that the wind is blowing directly from ahead (180 degree difference). HTH.
I am the author of the original kata (python, haskell and js versions).
The java version was added after the kata graduated by another codewars user (Azuaron). I am slightly allergic to java, so unfortunately I'm not interested in maintaing/fixing that version.
Thank you for the detailed explanation.
Looks like this bug affected only the python version and it is now fixed.
I just tried hard to reproduce this with no luck.
Can you add print statements for the function parameters so we could try to find what what input causes the solution validator to fail?
Thanks for the findings! These are now fixed.
Description corrected. Thanks.
This issue report is too vague to take action on.
Randomized testing is now added for all languages.
bkaes: Thank you for the explanation and the randomized testing example, really appreciated. You should be listed as a collaborator for this kata.
I have now added randomized testing for all languages.
Fix confirmed.
I get this error when submitting:
Looks like the problem is in your solution validation code.
Loading more items...