摘要: View Code 1 /* 2 最大连续子序列和 3 输出 ans 和 首元素,尾元素 4 */ 5 6 /* 7 //TLE 只适合处理小型数据 8 #include<stdio.h> 9 #include<string.h>10 #include<stdlib.h>11 #include<algorithm>12 #include<iostream>13 #include<queue>14 using namespace std;15 const int maxn = 10005;16 int a[ maxn ];1 阅读全文
posted @ 2012-12-04 14:28 xxx0624 阅读(414) 评论(0) 推荐(0) 编辑