arcv's blog

By arcv, history, 10 hours ago, In English

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.

  • Vote: I like it
  • 0
  • Vote: I do not like it