首页 / 更多教程 / Codeforces Round #521 (Div. 3) D. Cutting Out