Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Well, I tried to move bits from preload to test case and it works too. I am wondering if there is a way to call author's solution in the test case so that there would be no need to duplicate the implentation.

  • Custom User Avatar

    Thank you Voile, it seems the author's solution can't be called in the test case, I just have no idea how a ramdom test should be implemented and preload seems work for me. I would be appreciated if you have any pointer for the guidance :)

  • Custom User Avatar

    Thanks for the kata, find some past memory on embedded development ;)
    Not as hard as other 2kyu katas, just from my angle though.

  • Custom User Avatar

    Maybe there is issue in the random tests, my first attempt passed, but noticed a random test failure which never showed up again before I submit the final solution, I am pretty sure it's nothing to do with my code change, for I just remove some prints and redundant code, and there is only one random test failed.

  • Custom User Avatar

    Stucked at 132 (Python) for a long time, I am convinced that math library is required right? Just want to make sure I am heading the right direction.. only if I can kick off that import :(

  • Custom User Avatar

    Have fun with it, it would be good to add random tests since I saw there is a solution that returns fixed results just to satisfy the test case..

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    The initial template code for python seems strange, there are several concatenated string substitution which removed the space in the decoded result.

  • Custom User Avatar

    Thanks for the quick response, that's great!
    btw I was training with python.

  • Custom User Avatar

    The description says "Because of the edge-cases for tiny spirals, the size will be at least 5.", but actually size >= 0 are used in the tests.
    It would be nice to update the description accordingly.