03.02 · Problem
Counting the Balanced Shifts
This problem is part of solulu Pro
A machine's log holds, for each hour, how much it gained or lost (a loss is negative). The engineer wants to know how many continuous stretches of hours add up to exactly target — the stretches may overlap and a single…
Lifetime ₹2,000 ₹1,000 · Beta offer
Item 67 of 90 · updated 2026-10-12