Codeforces 671 Div 1 C (ultimate wierdness of array)
Let vi be b1, b2, b3...bk. Note that our l - r must be cover at least k - 1 of this indexes. l must less or equal to b2.
I was able to understand the first part of the solution, but can someone please explain the above statement.