随笔分类 -  Trie字典树

摘要:"传送门" Description .jpg) Input 输入数据的第一行包含一个整数$N$,表示数组中的元素个数。 第二行包含N个整数$A_1,A_2..A_N$。 Output 输出一行包含给定表达式可能的最大值 Sample Input Sample Output HINT 满足条件的$(l 阅读全文
posted @ 2018-08-17 18:47 Neworld1111 阅读(100) 评论(0) 推荐(0)
摘要:insert cpp void insert()//插入单词s { len=strlen(s);//单词s的长度 root=0;//根节点编号为0 for(int i=0;i 阅读全文
posted @ 2018-02-23 13:19 Neworld1111 阅读(144) 评论(0) 推荐(0)