Please someone help me with this problem?

Revision en1, by arcv, 2024-12-21 18:22:20

given an array of n elements, the ith element has value a_i. each operation increases k smallest numbers by 1 unit. after m operations print the array with increasing values. k<=n<=1e5, m ,a_i<= 1e9.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English arcv 2024-12-21 18:22:20 242 Initial revision (published)