Codeforces Round #613 (Div. 2) D. Dr. Evil Underscores(字典树+贪心)

NoSuchKey