摘要:
#include#include#include#define maxn 50010#define Lson root*2#define Rson root*2+1#define Max(a,b)(a>b?a:b)int ac[maxn];struct ndoe{//lsum表示左区间的连续,rsu... 阅读全文
摘要:
此题需用C++提交,不能用G++;#include#include#includetypedef struct node{ int sum; node *next[26];}*tree,t;tree root;void Insert(char *str){ tree p=root,... 阅读全文