随笔分类 -  字符串——扩展KMP

摘要:2019HNCPC Distinct Substrings Mean 给定一个$n$个整数的字符串,定义$f(s_1,s_2,...,s_n)$为本质不同的子串个数, 对于每个整数$c∈[1,m]$,分别输出$f(s_1,s_2,...,s_n)-f(s_1,s_2,...,s_n,c)$. \(n 阅读全文
posted @ 2021-10-25 17:51 Qquun 阅读(71) 评论(0) 推荐(0)