Codeforces Round #627 (Div. 3) D. Pair of Topics(二分/直接遍历) Codeforces Round #627 (Div. 3) D. Pair of Topics(二分/直接遍历)