Fewest Rewrites To Make Every Long Window Positive

Company: Squarepoint_29sep

Difficulty: hard