Ad
  • Default User Avatar

    Was that SARCASAM?😂😂😂😂😂😂

  • Custom User Avatar
  • Custom User Avatar

    This kata is a good example for people who do not know programming. Simple input and output, a clear task. You can take a pen and write a solution / algorithm. With big numbers, it gets much more abstract and complicated. If you like reading wild solutions, try this one

  • Default User Avatar

    your code is missing something explicit from the directions

  • Custom User Avatar

    I changed the messages a bit, could you please check if they are clearer now?

    Would you also be so kind to share what other kata you found buggy, so I could check what was your mistake and help you solve them?

  • Custom User Avatar

    I have literally no idea what you are trying to complain on. The kata looks good(ish).

    When you see following output:

    Testing for hanoi(10)
        19 should equal 1023
    

    It means that:

    • In this test, disks was 10.
    • Your solution returned answer 19.
    • Correct answer is 1023.

    I tried your solution and it's simply incorrect, and messages tell you this. Maybe not in the clearest way, and I will try to improve it, but still, wrong solutio is wrong.

  • Custom User Avatar

    Your solution does exactly the thing which is described in description as too slow.

  • Custom User Avatar

    You offer no reason why this would be a kata problem and not a your code problem. You don't mention which of the 18 languages would have this problem.

    Are you sure about that 1200ms? Most languages allow 12000ms.

    Time on top is probably including all sorts of overhead; time below is probably just for running tests against your solution.

    If you have problems, follow the troubleshooting guide in Docs. At the very end ( because you probably just should not ) it also tells you how to raise an issue, and what information to include.

    Closing now.