摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 const int maxn = 1000000 + 5; 7 int v[maxn]; 8 int c[maxn]; 9 int dp[maxn]; 10 11 int main(){ 12 ios::sync_with_stdio(fal... 阅读全文
posted @ 2018-03-26 21:58 ouyang_wsgwz 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 4 using namespace std; 5 const int maxn = 50005; 6 int a[maxn]; 7 int res[maxn]; 8 int ans; 9 10 //归并排序 11 void merge(int l, int r){ 12 //cout> 1; 14 int ... 阅读全文
posted @ 2018-03-26 20:54 ouyang_wsgwz 阅读(145) 评论(0) 推荐(0) 编辑