Ad
  • Custom User Avatar

    The Python code length limit is < 1000. In all other languages, it is <= 1000 ( and that's what I wrote in the description update with the Haskell translation ).

    I'd suggest to give Python solvers that one extra char. It's the simplest solution. ( Yes, people will raise issues for that one character. )

  • Custom User Avatar

    It's a shame, bro. It's my first kata.

  • Default User Avatar

    Keep cool dude! "Guessing" kata are never fire

  • Custom User Avatar

    Don't try JS, let a seasoned JS translator handle this please :)

  • Custom User Avatar

    You should use that lambda as reference solution mine_solution inside random tests, rather than your own solution.

  • Custom User Avatar

    how is Python integer precision with these huge numbers?

  • Default User Avatar

    (so my solution and one other have now already been invalidated)

  • Default User Avatar

    I have implemented the code in your test suite. I set the limit to 1,000 characters which gives a lot of room for creativity, but there's no chance of hardcoding all the answers now.

  • Default User Avatar

    Yeah, you can prevent hardcoding by limiting the char count of the code. For example, this solution has 30,535 chars.