Sum of Subarray Minimums (#727) - Azerbaijan Computing Olympiad