Codeforces 1073G Yet Another LCP Problem $SA$+单调栈

NoSuchKey