文章分类 - 基础数据结构
摘要:#include #include #include #include #include #include #include using namespace std; const int maxn=300; char s[maxn]; bool failed; vectorans; struct node { bool have_value; int v; node *l...
阅读全文
摘要:#include #include #include const int maxn=100000+10; int last,cur,next[maxn]; char s[maxn]; int main() { while(scanf("%s",s+1)==1) { int n=strlen(s+1); last=cur=0; nex...
阅读全文

浙公网安备 33010602011771号