摘要: #include #include #include using namespace std; class Node{ public: Node *next[26]; bool isend; Node(){ for(int i=0;inext[word[i]-'a']) p->next... 阅读全文
posted @ 2019-07-31 23:49 YF-1994 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 对一个数组,如果要同时进行多次求区间和操作,修改元素操作。怎样能使时间复杂度降到最低?线段树为我们解决了这样一个问题。 阅读全文
posted @ 2019-07-31 17:04 YF-1994 阅读(158) 评论(0) 推荐(0) 编辑