摘要:
http://acm.sgu.ru/problem.php?contest=0&problem=397 模拟链表 ,坑惨了我 ,自己模拟链表 出错 wa了 好久#include#includeconst int maxn=1000005;char str[maxn],T[maxn];int per[maxn],next[maxn];int main(){ int n; while(scanf("%s",str)==1){ n=strlen(str); int S=0,L=0;per[0]=next[0]=-1; for(int i... 阅读全文
posted @ 2014-02-24 18:24
来自大山深处的菜鸟
阅读(132)
评论(0)
推荐(0)

浙公网安备 33010602011771号