Minimum possible value

Revision en1, by ReZa.BN, 2020-03-31 18:23:42

We have an array with length N. In an operation we increase M adjacent elements of array by 1. After K operations what is the minimum possible value for the maximum element of array. 1 ≤ N, M ≤ 10^5 1 ≤ K ≤ 10^8

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ReZa.BN 2020-03-31 18:23:42 237 Initial revision (published)