
POJ
文章平均质量分 77
runningsnail2011
这个作者很懒,什么都没留下…
展开
-
POJ 1006 Biorhythms: 孙子定理
Biorhythms Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 90272 Accepted: 27473 Description Some people believe that there are three c原创 2012-05-04 13:27:10 · 1009 阅读 · 0 评论 -
POJ 2479 最大子段和
POJ 2479 最大子段和 POJ 2479严格来说不是单纯的最大子段和,它是一个双向的最大子段和,为了弄清双向的最大子段和就必须弄清楚单向的最大子序和。 单向最大子段和问题如下: 在序列A[1..n](任意一个Ai都是整数,有正有负)中找出一个子序列A[p..q]使得M=Ap+Ap+1+…+Aq-1+Aq最大 例如如下的序列: 1 7 -8 -4 5 10 -9原创 2012-08-10 00:58:26 · 726 阅读 · 0 评论