F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_36871234_19097.cpp:16:5: error: stray '\241' in program
     for(int i=x;i≤len;i+=lowbit(i)) 
     ^
0_0_36871234_19097.cpp:16:5: error: stray '\334' in program
0_0_36871234_19097.cpp:7:1: error: expected initializer before 'int'
 int li[MAXN/3],ri[MAXN/3],c[MAXN]; //花开的起始时间、结束时间、树状数组 
 ^
0_0_36871234_19097.cpp: In function 'void add(int, int, int)':
0_0_36871234_19097.cpp:16:20: error: expected ';' before 'len'
     for(int i=x;i≤len;i+=lowbit(i)) 
                    ^
0_0_36871234_19097.cpp:16:23: error: expected ')' before ';' token
     for(int i=x;i≤len;i+=lowbit(i)) 
                       ^
0_0_36871234_19097.cpp:16:24: error: 'i' was not declared in this scope
     for(int i=x;i≤len;i+=lowbit(i)) 
                        ^
0_0_36871234_19097.cpp: In function 'long long int query(int)':
0_0_36871234_19097.cpp:27:14: error: 'c' was not declared in this scope
         ans+=c[i]; 
              ^
0_0_36871234_19097.cpp: In function 'int bSerach(int, int)':
0_0_36871234_19097.cpp:34:24: error: 'getNum' was not declared in this scope
     return lower_bound(getNum,getNum+len,num)-getNum+1; 
                        ^
0_0_36871234_19097.cpp: In function 'int main()':
0_0_36871234_19097.cpp:42:16: error: 'c' was not declared in this scope
         memset(c,0,sizeof(c)); 
                ^
0_0_36871234_19097.cpp:43:16: error: 'getNum' was not declared in this scope
         memset(getNum,0,sizeof(getNum));    
                ^
0_0_36871234_19097.cpp:48:27: error: 'li' was not declared in this scope
             scanf("%d%d",&li[i],&ri[i]); 
                           ^
0_0_36871234_19097.cpp:48:34: error: 'ri' was not declared in this scope
             scanf("%d%d",&li[i],&ri[i]); 
                                  ^
0_0_36871234_19097.cpp:69:25: error: 'li' was not declared in this scope
             add(bSerach(li[i],cnt2),1,cnt2);    //位置bSerach(li[i],cnt2)~位置cnt2均增加1 
                         ^
0_0_36871234_19097.cpp:70:25: error: 'ri' was not declared in this scope
             add(bSerach(ri[i],cnt2)+1,-1,cnt2); //位置bSerach(lr[i]+1,cnt2)~位置cnt2均增加-1 
                         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-01 17:57:38, Gzip enabled