摘要: 字典树 点击查看代码 void insert(char *str){ int rot = 0; // 当前子树根节点 int len = strlen(str); int res = 0 ; // 表示字典树路径上存在有几个别的单词,用于这道题统计答案 for(int i = 0; i < len; 阅读全文
posted @ 2025-12-06 22:58 [丘李]Chilllee 阅读(6) 评论(0) 推荐(0)