n, k = map(int, input().split()) nums = list(map(int, input().split())) left = right = 0 sum_ = 0 ans = 0 while left < n and right <= n: if sum_ < k: if right == n: break sum_ += nums[right] right += 1 else: # print(f'right:{right}, left:...