ascending subarray sum

join shbcf.ru