Count the number of contiguous subarrays whose elements sum to exactly k. Values may be negative.
Input format
Line 1: two integers n and k.
Line 2: n space-separated integers (present whenever n >= 1).
Output format
One line: the number of contiguous subarrays whose sum is k.
Constraints
- 1 <= n <= 100000
- -1000000000 <= k <= 1000000000
- -1000 <= each value <= 1000