Note the array provided must be non-negative, and nondecreasing for you to get any partial score
If you output a nonnegative array(with N elements) with the Kth value being correct, but not summing to S, you will receive 60% of the points.
If you output a valid array with the Kth value being correct, but the array is not lexicographically minimal, you will receive 90% of the points
| Subtask | Score |
|---|---|
| 1 | 100 |
| 2 | 0 |