Ad
  • Custom User Avatar

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

  • Custom User Avatar

    Gostei, primeira que fiz em uma linha.

  • Custom User Avatar

    spoiler flag, plz...

  • 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

  • Custom User Avatar

    I am having this exact same issue in Python 3.4.3.

  • Default User Avatar

    Please which language?

  • Default User Avatar

    I have one error in the submit but it doesn't tell me what that might be on the listing:

    Time: 277ms Passed: 18 Failed: 1
    Test Results:
    Simple tests
    Completed in 6ms
    Random tests
    random selected 10 tests
    Random test 0
    h: 19 b: 0.75 w: 1.9
    ✔ Test Passed: Value == 17
    Random test 1
    h: 19 b: 0.75 w: 1.9
    ✔ Test Passed: Value == 17
    Random test 2
    h: 17 b: 0.75 w: 1.7
    ✔ Test Passed: Value == 17
    Random test 3
    h: 233 b: 0.6 w: 2.33
    ✔ Test Passed: Value == 19
    Random test 4
    h: 92 b: 0.14 w: 0.92
    ✔ Test Passed: Value == 5
    Random test 5
    h: 92 b: 0.14 w: 0.92
    ✔ Test Passed: Value == 5
    Random test 6
    h: 61 b: 1.1 w: 6.1
    ✔ Test Passed: Value == -1
    Random test 7
    h: 98 b: 9 w: 9.8
    ✔ Test Passed: Value == -1
    Random test 8
    h: 21 b: 0.35 w: 2.1
    ✔ Test Passed: Value == 5
    Random test 9
    h: 144 b: 0.6 w: 1.44
    ✔ Test Passed: Value == 19
    Completed in 2ms
    Completed in 2ms

    I would love to correct it, but don't have anything to look at...

  • Custom User Avatar

    Having an issue with the -1 result in Ruby. When ever I return -1 h == window or h < window it times out. But when I return the values h, window it will show 10, 10 or even if I put return -2, it will return -2 and not time out... Really weird, otherwise I would of enjoyed this kata.