发表评论取消回复
相关阅读
相关 Zoj 3587 Marlon's String (KMP 字符串拼接 前缀出现次数)
题意:给字符串S,T,找到所有的tetrad (a,b,c,d), Sa..b + Sc..d = T , a≤b and c≤d.也就是把T分成两段,这两段都由S中的子串组成
相关 Zoj 3587 Marlons String
题意: 给定两个串S和T,从S中找两个子串组成T(拼起来和T一模一样),两个子串可重叠,问有几种组合方法? 三种方法: KMP+计数 直接用T去匹配S,匹配到T中
相关 zoj-3721(贪心)
In Zhejiang University, there are N different courses labeled from 1 toN. Each course ha
相关 zoj 1047
Technicians in a pathology lab analyze digitized images of slides. Objects on a slide ar
相关 zoj-3938
Defuse the Bomb -------------------- Time Limit: 2 Seconds Memory Limit: 65536 K
相关 ZOJ-3785
What day is that day? -------------------- Time Limit: 2 Seconds Memory Limit: 6
相关 ZOJ - 3777 && ZOJ - 2972(dp )
这两个dp感觉非常类似, 都是dfs会超时, 利用上一层和下一层关系, dp做出来 zoj 2972 include<cstdio> includ
相关 ZOJ-3490-String Successor 模拟
ZOJ-3490-String Successor The successor to a string can be calculated by applying t
相关 ZOJ 3941
题意:有n(10)段时间,会举行party,每个party有开始时间,结束时间,不同party举行时间可能重复。(时间范围为1~1e9) 我们一共最多可以参加m(1e9)
相关 zoj4110 Strings in the Pocket(manacher)
传送:[http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=6012][http_acm.zju.edu.cn
还没有评论,来说两句吧...