摘要: Map水过去了#include#include#include#include#include#includeusing namespace std;mapm;vectorb;int main(){ int n; while(~scanf("%d",&n)) { m.... 阅读全文
posted @ 2015-10-06 11:06 Fighting_Heart 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 经典DP#include#include#include#includeusing namespace std;const int INF=0x7FFFFFFF;int T;int n;int a[100000+10];int sum[100000+10];int L[100000+10],R[10... 阅读全文
posted @ 2015-10-06 10:08 Fighting_Heart 阅读(143) 评论(0) 推荐(0) 编辑