序列自动机
永夜莫明
菜是原罪
展开
-
String(有限制的序列自动机?)
http://icpc.upc.edu.cn/problem.php?cid=1822&pid=8 题目描述 Tom has a string containing only lowercase letters. He wants to choose a subsequence of the string whose length is k and lexicographical or...原创 2019-07-22 21:24:56 · 151 阅读 · 1 评论 -
Colorful String(manacher+序列自动机)
https://nanti.jisuanke.com/t/41389 The value of a string s is equal to the number of different letters which appear in this string. Your task is to calculate the total value of all the palindrome su...原创 2019-09-07 23:10:43 · 179 阅读 · 0 评论