Ad
  • Custom User Avatar

    simple and smart . good job !

  • Custom User Avatar

    good job solving it in a one line . I'm looking to learn this way of solving so you have an idea of what to search for on youtube?

  • Custom User Avatar

    I have the same issue . I don't even know what are te other test cases

  • Custom User Avatar

    I failed only one test , i spent two hours thinking why this test has been failed but no hope . I even tried to debug it !

  • Custom User Avatar

    Something wierd going on when I click submit .
    I already tested all cases and everything is fine . but when I click submit it's showing me failed weird test cases that are not there .

    " Test Positive
    Test Passed: Value == 1
    Test Passed: Value == 3
    Test Passed: Value == 14
    Expected: 127759, instead got: nil
    Expected: 44178, instead got: nil
    STDERR
    /runner/frameworks/ruby/cw-2.rb:60:in block in describe': Expected: 127759, instead got: nil (Test::Error) from /runner/frameworks/ruby/cw-2.rb:46:in measure'
    from /runner/frameworks/ruby/cw-2.rb:51:in describe' from /runner/frameworks/ruby/cw-2.rb:202:in describe'
    from main.rb:10:in `'"