摘要:        
DescriptionN个气球排成一排,从左到右依次编号为1,2,3....N.每次给定2个整数a b(a 2 #include 3 #define maxn 300000 4 class Node{ 5 public: 6 int l,r; 7 __int64 add;//附加...    阅读全文
posted @ 2014-04-29 22:58
beautifulzzzz
阅读(601)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1 #include 2 #include 3 #include 4 using namespace std; 5 int n,C[50005]; 6 //-------------------------- 7 int lowbit(int x){ 8 return x&-x; 9 }1...    阅读全文
posted @ 2014-04-29 21:19
beautifulzzzz
阅读(247)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include#includeusing namespace std;#define maxn 200005class Node{public: int l,r; int add;//附加值 int sum;}node[maxn];int getRight(int n){//获得...    阅读全文
posted @ 2014-04-29 19:44
beautifulzzzz
阅读(640)
评论(0)
推荐(0)
        

 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号