12 4 0 2 3 4 0 0 0 1 1 0 0 0 5 1 0 0 6 0 4 0 0 7 5 0 8 0 9 6 10 11 7 12 7 0 0 0 0 0 8 0 0 0 0 8 0 8 0 0
7 4 数据范围 N <= 10000, 0 <= K <= N