Codeforces Round #581 (Div. 2) D1. Kirk and a Binary String (easy version) (线性dp+构造)

NoSuchKey