cartons专题

【Codeforces Round #398 (Div. 2)】Codeforces 767D Cartons of milk

Olya likes milk very much. She drinks k cartons of milk each day if she has at least k and drinks all of them if she doesn’t. But there’s an issue — expiration dates. Each carton has a date after w