Ad
  • Custom User Avatar

    Thanks, I was looking for that exact solution of mine :-D

  • Custom User Avatar

    Look at this for example (actually that makes me now think that I maybe also need to check for certain imports on this one)

  • Custom User Avatar

    It's actually quite easy to cheese using compression, so the current limit seems fine

  • Custom User Avatar

    Sorry, I'm relatively new to how codewars works, so I wasn't sure whether to use issue or suggestion.

    idk what the largest order of hilbert curve you test for is, but I'd say take that, sqrt the amount of characters in that string and set it to that.
    I mean the rigorous way would be to actually try cheesing this one, but …that sounds like work 😅

  • Custom User Avatar

    Sounds more like a suggestion than an issue. Also using compression I'd assume the number of lines for a hardcoded solution can be reduced by quite a bit (I made some similar katas where that was the case). Anyways I'd want to have the cap somewhere and thought 4000 lines of code are quite reasonable. How many lines of code would you suggest to use? ^^

  • Custom User Avatar

    The limit of 4000 chars was a bit low… I ran into it in the start with a less optimized version. Granted, that version also timed out, but … not my point >:P - it takes 2 million chars just to hardcode a 10th order hilbert curve.