Ad
  • Default User Avatar

    thanks for help!

  • Default User Avatar

    Hi

    Apologies for the late reply,

    the problem lies with fact that you create your own Enumerator object, you should use the built-in one.

  • Default User Avatar

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

  • Default User Avatar

    I've taken a look and I can't find the problem, could you by any chance post your code (marked as spoiler) here?

  • Default User Avatar

    Hi, I am using ruby

  • Default User Avatar

    Hi, what language are you using ?

  • Default User Avatar

    Hello, why some tests expect Nill? See attached log:

    Thanks for advice,
    Radek

    Random Tests
    Testing: sequence_gen(-3, 3, -4, 15, 13, -1, -3, 10, -1, -5, 4, -7, 14)
    Expected: nil, instead got: -3
    Expected: nil, instead got: 3
    Expected: nil, instead got: -4
    Expected: nil, instead got: 15
    Expected: nil, instead got: 13
    Expected: nil, instead got: -1
    Expected: nil, instead got: -3
    Expected: nil, instead got: 10
    Expected: nil, instead got: -1
    Expected: nil, instead got: -5
    Expected: nil, instead got: 4
    Expected: nil, instead got: -7
    Expected: nil, instead got: 14
    Expected: nil, instead got: 35
    Expected: nil, instead got: 73
    Expected: nil, instead got: 143