2013年3月28日
摘要:
http://poj.org/problem?id=3691AC自动机+DP代码:#include<iostream>#include<cmath>#include<cstdio>#include<string>#include<cstring>#include<vector>#include<stack>#include<queue>#include<set>#include<map>#include<algorithm>#define LL long long 阅读全文
摘要:
http://poj.org/problem?id=1625AC自动机+DP+高精度高精度的部分用c++里面的重载就可以从树上节点转移到另一节点时 对其可行性的求解一定要注意代码:#include<iostream>#include<cmath>#include<cstdio>#include<string>#include<cstring>#include<vector>#include<stack>#include<queue>#include<set>#include<map 阅读全文