hdu 3336 Count the string (nxt函数的运用kmp+(dfs|dp ))2016-08-12·3 分钟ACM Dfs Kmp 字符串dphdu 3336 题目链接 题意:给一个字符串,问这个字符串的所有前缀的出现次数的和。