Ad
  • Custom User Avatar

    When you don't know, you can ask a question, but don't post an issue saying tests are bad. Tests are ok. Your code is very inefficient. Please read this carefully and don't post issues lightly: https://docs.codewars.com/training/troubleshooting/

  • Custom User Avatar

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

  • Custom User Avatar

    Task is very interesting. But testing is too worst... All my answers (4) get "Execution Timed Out". My local mashine compute them quikly (e.g. last of my answers get me about for each 20-300 ms for value like 371178756, 1 sec for value=10000000000L). There are a lot of tests that do not allow them to complete all by 16 seconds that codewars gives. I think it would be better if the test was shortened a bit.