摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1171View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <algorithm> 4 using namespace std; 5 int a[150005]; 6 struct mes{ 7 int v,num; 8 }op[55]; 9 void zeroonepack(int V,int v,int w)10 {11 for(int i=V;i>=v;i--)12 a[i]=max(a[i] 阅读全文