2013年3月30日

PKU POJ 2479 Maximum sum 最大连续子序列和

摘要: 这里子序列不能为空,至少要一个,特殊一点。View Code #include <iostream>#include <stdio.h>using namespace std;__int64 n,a[50005],dpl[50005],dpr[50005];int main(){ __int64 T,i,sum,mmax; scanf("%I64d",&T); while (T--) { scanf("%I64d",&n); for (i=0;i<n;++i) scanf("%I64d", 阅读全文

posted @ 2013-03-30 20:20 Deller 阅读(136) 评论(0) 推荐(0)

导航