Earliest Second to Mark Indices I
Binary search the second and check with deadlines whether every decrement can happen before its index is marked.
Binary search the second and check with deadlines whether every decrement can happen before its index is marked.