Problem 3432 · Easy

Count Partitions with Even Sum Difference

Track the left sum while moving one split at a time, and count the splits whose left and right sums differ by an even number.

Open the interactive visualisation