摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int an[50010]; 8 int get[50010]; 9 struct Node 10 { 11 int l,r; 12 ... 阅读全文
posted @ 2015-07-31 10:24 相儒以沫 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 4 using namespace std; 5 6 struct Node 7 { 8 int l,r; 9 int v; 10 int lz; 11 }bn[400000]; 12 13 voi... 阅读全文
posted @ 2015-07-31 10:21 相儒以沫 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 4 using namespace std; 5 6 int an[50010]; 7 struct Node 8 { 9 int l,r;10 int v;11 }bn[200000];12 13 void build(in... 阅读全文
posted @ 2015-07-31 10:11 相儒以沫 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 struct Node 8 { 9 int l,r;10 int num;11 }bn[16000000];12 13 void build(int... 阅读全文
posted @ 2015-07-31 10:10 相儒以沫 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 4 using namespace std; 5 6 int an[200010]; 7 struct Node 8 { 9 int l;10 int r;11 int ma;12 }bn[800010];13 14 ... 阅读全文
posted @ 2015-07-31 10:06 相儒以沫 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 4 using namespace std; 5 6 struct Node 7 { 8 int l; 9 int r;10 int sum;11 int lz;12 }bn[400000];13 14 voi... 阅读全文
posted @ 2015-07-31 10:04 相儒以沫 阅读(119) 评论(0) 推荐(0) 编辑