Problem 3911 · Hard

K-th Smallest Remaining Even Integer in Subarray Queries

Start at the k-th even, then move past each removed even that lies at or below the running answer.

Open the interactive visualisation