2017-05-30 Codeforces #410 Div2 B. Mike and strings https://docs.google.com/document/d/1rxSL9gWr8CXIC–bAc9dCaKj3F7tidbL9i3PY7_SOkg/editdocs.google.com なんでこれ本番中に解けなすぎて諦めたんだろう… 変なヒューリスティックは入れないに限るね。