摘要: #Trie算法模板题 Trie字符串统计 ##代码及注释 #include<iostream> using namespace std; const int N = 100010; int n; //son -> 所有的子节点,26对应题目出现的26个英文字母 //cnt -> 字符串出现的次数 / 阅读全文
posted @ 2021-04-19 18:05 Xuuxxi 阅读(65) 评论(0) 推荐(0)