Ad
  • Default User Avatar

    How do we get for 3 value 30;
    I think the knuckles are going like this
    0 | 1, 0 | 2, 0 | 1, 1 | 1, 2 | 1, 3 | 2, 3 | 3, 3 | 3

  • Default User Avatar

    PHP translation posted, pending approval

  • Custom User Avatar

    description says "Test values are 0 < n < 1000", but Rust tests have wider range

  • Custom User Avatar

    Hmm, my Haskell solution computes all [2..200] values in 3.8 sec at my i5 core ThinkPad, but when I run tests only (5 values) here, it exceeds the time limit 12 sec. I wish I could see what happens at the CodeWars host machine! I use GHC 9.6.1 at my laptop, here is 9.2.5, but it's unlikely the cause. I also used Template Haskell in the solution and it could take more time to compile. Is compilation time included into the whole time limit 12 sec?