HDU 2243 AC自动机+DP+矩阵
摘要:
好综合的一题啊,AC自动机+DP+非递归矩阵快速幂+二分+逆向思维。//#pragma comment(linker, "/STACK:1024000000,1024000000")#include#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;typedef long long ll;typedef unsigned long long ull;typedef pair pi 阅读全文
posted @ 2013-10-22 16:44 BMan、 阅读(197) 评论(0) 推荐(0)
浙公网安备 33010602011771号