Ad
  • Default User Avatar

    I suppose your language here is Python... Could you post exactly the failed tests (lines between 3 backticks at the beginning and at the end)?
    When input is 99249557 Python reference solution outputs 99249557.
    Moreover as you could have seen at the top of the page 250 guys (out of 1217) passed the Python kata; the fixed tests are the same in all languages.

  • Default User Avatar

    I am having this same issue, I think there is some bug with this KATA,
    How can you return 507992495 when input is 99249557 ?
    It passes 12 test cases but fails in 1 and say expected 507992495 for 99249557 ?? they dont even have same length

  • Custom User Avatar
  • Default User Avatar

    Description says:

    return a positive integer unless conditions are not fulfilled in which case return -1

    If bounce == 1, conditions are not fulfilled so return -1.

  • Default User Avatar

    It's not an issue of the kata. Report at CW as a bug: Forum -> Bugs.

  • Custom User Avatar

    if

    (float parameter "bounce", 0 < bounce < 1)

    You cannot use this example. (bounce cannot be 1)

    h = 3, bounce = 1, window = 1.5, result is -1

    Or do I read the question wrongly?

  • Custom User Avatar

    I got "Time: 283ms Passed: 0 Failed: 0" in Output, why is test not start.
    my codes are running well at local.

  • Default User Avatar

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

  • Custom User Avatar

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