努力ing
你浪费的今天是昨天死去的人所渴望的明天!!!
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1506第一种方法:#include<stdio.h>int a[100005];int right[100005];int left[100005];int main(){ int n; int i; __int64 max; while(scanf("%d",&n)!=EOF&&n) { for(i=0;i<n;i++){ scanf("%d",&a[i]); left[i]=right[i]=i; } for(i=0 阅读全文
posted @ 2013-05-26 10:13 努力ing 阅读(121) 评论(0) 推荐(0)