摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2896 这题WA了好多好多次,大概8、9次吧,从cf进行到一半就开始在这调。经过不懈的努力终于发现,TMD,vis的memset放错地方了!!!这都什么事啊,老被这种错给整的那么郁闷。。。code:#include<iostream>#include<cstring>#include<cstdio>usingnamespacestd;constintkind=130;structnode{node*fail;node*next[kind];intcount;intid;no 阅读全文
posted @ 2012-02-21 01:56 追逐. 阅读(215) 评论(0) 推荐(0) 编辑