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_14929354_5584.cpp:112:4: error: stray '#' in program
 }  #include <stdio.h>  
    ^
0_0_14929354_5584.cpp:112:5: error: 'include' does not name a type
 }  #include <stdio.h>  
     ^
0_0_14929354_5584.cpp:124:3: error: declaration does not declare anything [-fpermissive]
 } NODE ;  
   ^
0_0_14929354_5584.cpp:126:9: error: redefinition of 'int n'
 int     n, m ;  
         ^
0_0_14929354_5584.cpp:15:9: note: 'int n' previously declared here
 int     n, m ;  
         ^
0_0_14929354_5584.cpp:126:12: error: redefinition of 'int m'
 int     n, m ;  
            ^
0_0_14929354_5584.cpp:15:12: note: 'int m' previously declared here
 int     n, m ;  
            ^
0_0_14929354_5584.cpp:127:21: error: redefinition of 'int num [200002]'
 int     num [MAXSIZE] ;  
                     ^
0_0_14929354_5584.cpp:16:9: note: 'int num [200002]' previously declared here
 int     num [MAXSIZE] ;  
         ^
0_0_14929354_5584.cpp:128:26: error: redefinition of 'NODE tree [4000040]'
 NODE    tree[MAXSIZE * 20] ;  
                          ^
0_0_14929354_5584.cpp:17:9: note: 'NODE tree [4000040]' previously declared here
 NODE    tree[MAXSIZE * 20] ;  
         ^
0_0_14929354_5584.cpp: In function 'int build(int, int, int)':
0_0_14929354_5584.cpp:131:5: error: redefinition of 'int build(int, int, int)'
 int build (int root, int left, int right)  
     ^
0_0_14929354_5584.cpp:20:5: note: 'int build(int, int, int)' previously defined here
 int build (int root, int left, int right)  
     ^
0_0_14929354_5584.cpp: In function 'int find(int, int, int)':
0_0_14929354_5584.cpp:155:5: error: redefinition of 'int find(int, int, int)'
 int find (int root, int left, int right)  
     ^
0_0_14929354_5584.cpp:44:5: note: 'int find(int, int, int)' previously defined here
 int find (int root, int left, int right)  
     ^
0_0_14929354_5584.cpp: In function 'int update(int, int, int)':
0_0_14929354_5584.cpp:175:5: error: redefinition of 'int update(int, int, int)'
 int update (int root, int pos, int val)  
     ^
0_0_14929354_5584.cpp:64:5: note: 'int update(int, int, int)' previously defined here
 int update (int root, int pos, int val)  
     ^
0_0_14929354_5584.cpp: In function 'int main()':
0_0_14929354_5584.cpp:196:5: error: redefinition of 'int main()'
 int main ()  
     ^
0_0_14929354_5584.cpp:85:5: note: 'int main()' previously defined here
 int main ()  
     ^


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-02 09:51:34, Gzip enabled