Sum of subarrays

Problem Name:
Sum of subarrays
Site:HackerEarth
Links:
Tags: