Sunday, September 21, 2014

SPOJ 8061. Christmas Play (AMR10G)

N<=20000. We need to sort the entire array and then for every i , if i+k-1<=n choose the minimum of A[i+k-1]-A[i].


       FULL SOURCE CODE

No comments:

Post a Comment