• Custom User Avatar

    Looks good to me. Sorry about the late reply. Resolved.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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..

  • Custom User Avatar

    Thanks for the suggestion. Description updated.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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.

  • Custom User Avatar

    Thank you for the detailed explanation.

    Looks like this bug affected only the python version and it is now fixed.

  • Custom User Avatar

    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?

  • Custom User Avatar

    Thanks for the findings! These are now fixed.

  • Custom User Avatar

    Description corrected. Thanks.

  • Custom User Avatar

    This issue report is too vague to take action on.

  • Custom User Avatar

    Randomized testing is now added for all languages.

  • Custom User Avatar

    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.

  • Custom User Avatar

    Fix confirmed.

  • Custom User Avatar

    I get this error when submitting:

    NameError: name 'rotn' is not defined
    

    Looks like the problem is in your solution validation code.

  • Loading more items...