Sponsored
Use these hints if you're stuck. Try solving on your own first.
Let x be the answer, it’s always optimal to decrease x in each operation and increase nums.
Solve with full IDE support and test cases