Problem 3092 · Medium
Keep a running count per ID, drop IDs that reach zero, and report the largest count after every step.
Open the interactive visualisation