3284: Sum of Consecutive Subarrays

Problem Statement