Run-time exception (line 56): Index was outside the bounds of the array.
Stack Trace:
[System.IndexOutOfRangeException: Index was outside the bounds of the array.]
at Program.EffectiveJumpsNumber(Int32 maxJumpsNumber, Int32[] array, Int32 pos) :line 56
at Program.EffectiveJumpsNumber(Int32 maxJumpsNumber, Int32[] array, Int32 pos) :line 58
at Program.CanReachTheLast(Int32[] array) :line 21
at Program.Main() :line 10