Codeforces Round #501 F. Bracket Substring 思路+dp+KMP 详解

NoSuchKey