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_13802249_9578.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13802249_9578.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13802249_9578.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13802249_9578.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13802249_9578.cpp:16:1: error: expected ']' before 'void'
 void build(int rt,int s,int e)
 ^
0_0_13802249_9578.cpp: In function 'void update(int, int, int, int, int)':
0_0_13802249_9578.cpp:31:15: error: 'tre' was not declared in this scope
         if(v) tre[rt].lm=tre[rt].rm=1; //rebuild
               ^
0_0_13802249_9578.cpp:32:14: error: 'tre' was not declared in this scope
         else tre[rt].lm=tre[rt].rm=0;  //destroy
              ^
0_0_13802249_9578.cpp:35:16: error: expected ',' or ';' before numeric constant
     int m=(s+e)1;
                ^
0_0_13802249_9578.cpp:37:5: error: expected ')' before 'else'
     else update(p,v,rson);
     ^
0_0_13802249_9578.cpp:38:5: error: 'tre' was not declared in this scope
     tre[rt].lm=tre[rt
     ^
0_0_13802249_9578.cpp:39:5: error: expected ']' before 'tre'
     tre[rt].rm=tre[rt
     ^
0_0_13802249_9578.cpp: In function 'int query(int, int, int, int)':
0_0_13802249_9578.cpp:50:21: error: 'tre' was not declared in this scope
     if(s==e) return tre[rt].lm;
                     ^
0_0_13802249_9578.cpp:51:16: error: expected ',' or ';' before numeric constant
     int m=(s+e)1;
                ^
0_0_13802249_9578.cpp:52:13: error: 'tre' was not declared in this scope
     int l=m-tre[rt
             ^
0_0_13802249_9578.cpp:53:5: error: expected ']' before 'int'
     int r=m+1+tre[rt
     ^
0_0_13802249_9578.cpp: In function 'int main()':
0_0_13802249_9578.cpp:62:30: error: 'scanf' was not declared in this scope
     while(~scanf("%d%d",&n,&m))
                              ^
0_0_13802249_9578.cpp:65:20: error: 'build' was not declared in this scope
         build(1,1,n);
                    ^
0_0_13802249_9578.cpp:67:9: error: expected ';' before '{' token
         {
         ^
0_0_13802249_9578.cpp:67:9: error: expected primary-expression before '{' token
0_0_13802249_9578.cpp:67:9: error: expected ')' before '{' token
0_0_13802249_9578.cpp:87:32: error: 'printf' was not declared in this scope
                 printf("%d\n",k);
                                ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 04:21:14, Gzip enabled