Ad
  • Custom User Avatar

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

  • Default User Avatar

    Their math don't check out so maybe yours don't either.

  • Custom User Avatar

    I am also getting this issue in Haskell. I'm passing all the other tests besides this one.

  • Custom User Avatar

    I solved it by a work around, if the script input is one of the wrong ones, I will return the required wrong outputs. Since davazp is not responding.

  • Default User Avatar

    I am having the same issue with python test

  • Custom User Avatar

    but why focusing on the 2 in this example, when in this one
    testing(269045, [26945, 3, 0]);
    the 0 is move to the position 0 as well.

  • Custom User Avatar

    Just tried the challenge the second time with a different approach. As with the first attempt, I get an error during a few tests. ( Passed: 107 Failed: 6 Exit Code: 1)

    For example at 132030240 seconds I get
    '4 years, 67 days, 3 hours, 47 minutes and 12 seconds' should equal '4 years, 68 days, 3 hours and 4 minutes

    4 years == 126227808 seconds, leaving 5802432 seconds.
    This is equal to 67.15777778 days, not 68 days.

    This is just one of them I previously failed with time module and now again.

    Is it possible that the Python test is broken? Since all random tests are working.

  • Default User Avatar

    Yeah but the test did not mention which string was tested, so no debugging is possible
    (at least in python)