LG CF954I Yet Another String Matching Problem

zcmimi at 
查看原题'" class='mdui-btn mdui-btn-raised'>点击加载点击跳转枚举变换情况($6!$),然后 kmp$\Theta(n)$判断即可……