摘要: 使用Tire进行DP的递推,f[i+len]+=f[i] 若S[i+1..len]为字典中的元素。 1 #include 2 #include 3 #include 4 5 const long long maxnode = 4010*100; 6 const long long SI... 阅读全文
posted @ 2014-07-04 00:27 ljlin 阅读(233) 评论(0) 推荐(0) 编辑