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_21878391_21133.cpp:11:8: error: macro names must be identifiers
 #define lson l,mid,lrt  
        ^
0_0_21878391_21133.cpp:12:8: error: macro names must be identifiers
 #define rson mid+1,r,rrt  
        ^
0_0_21878391_21133.cpp:13:8: error: macro names must be identifiers
 #define mid ((l+r)>>1)  
        ^
0_0_21878391_21133.cpp:14:8: error: macro names must be identifiers
 #define lrt rt<<1  
        ^
0_0_21878391_21133.cpp:15:8: error: macro names must be identifiers
 #define rrt rt<<1|1  
        ^
0_0_21878391_21133.cpp:37:8: error: macro names must be identifiers
 #define _min(x,y) ((x)<(y)?(x):(y))  
        ^
0_0_21878391_21133.cpp:38:8: error: macro names must be identifiers
 #define _max(x,y) ((x)>(y)?(x):(y))  
        ^
0_0_21878391_21133.cpp:2:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_21878391_21133.cpp:2:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_21878391_21133.cpp:3:7: error: 'nbsp' declared as reference but not initialized
 const int maxn=444444;  
       ^
0_0_21878391_21133.cpp:3:16: error: conflicting declaration 'int& nbsp'
 const int maxn=444444;  
                ^
0_0_21878391_21133.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int maxn=444444;  
       ^
0_0_21878391_21133.cpp:3:21: error: 'maxn' does not name a type
 const int maxn=444444;  
                     ^
0_0_21878391_21133.cpp:3:38: error: expected constructor, destructor, or type conversion before ';' token
 const int maxn=444444;  
                                      ^
0_0_21878391_21133.cpp:3:44: error: expected constructor, destructor, or type conversion before ';' token
 const int maxn=444444;  
                                            ^
0_0_21878391_21133.cpp:4:5: error: conflicting declaration 'int& nbsp'
 int prime[]={ 2, 3, 5, 7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97};  
     ^
0_0_21878391_21133.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int maxn=444444;  
       ^
0_0_21878391_21133.cpp:4:10: error: 'prime' does not name a type
 int prime[]={ 2, 3, 5, 7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97};  
          ^
0_0_21878391_21133.cpp:4:120: error: expected constructor, destructor, or type conversion before ';' token
 int prime[]={ 2, 3, 5, 7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97};  
                                                                                                                        ^
0_0_21878391_21133.cpp:4:126: error: expected constructor, destructor, or type conversion before ';' token
 int prime[]={ 2, 3, 5, 7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97};  
                                                                                                                              ^
0_0_21878391_21133.cpp:5:5: error: conflicting declaration 'int& nbsp'
 int  dpos[]={28,25,23,21,20,19,18,17,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0};  
     ^
0_0_21878391_21133.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int maxn=444444;  
       ^
0_0_21878391_21133.cpp:5:15: error: expected constructor, destructor, or type conversion before ';' token
 int  dpos[]={28,25,23,21,20,19,18,17,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0};  
               ^
0_0_21878391_21133.cpp:5:16: error: 'dpos' does not name a type
 int  dpos[]={28,25,23,21,20,19,18,17,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0};  
                ^
0_0_21878391_21133.cpp:5:155: error: expected constructor, destructor, or type conversion before ';' token
 int  dpos[]={28,25,23,21,20,19,18,17,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0};  
                                                                                                                                                           ^
0_0_21878391_21133.cpp:5:161: error: expected constructor, destructor, or type conversion before ';' token
 int  dpos[]={28,25,23,21,20,19,18,17,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0};  
                                                                                                                                                                 ^
0_0_21878391_21133.cpp:6:5: error: conflicting declaration 'int& nbsp'
 int a[]={1,2,4,8,16,32,64};  
     ^
0_0_21878391_21133.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int maxn=444444;  
       ^
0_0_21878391_21133.cpp:6:10: error: 'a' does not name a type
 int a[]={1,2,4,8,16,32,64};  
          ^
0_0_21878391_21133.cpp:6:38: error: expected constructor, destructor, or type conversion before ';' token
 int a[]={1,2,4,8,16,32,64};  
                                      ^
0_0_21878391_21133.cpp:6:44: error: expected constructor, destructor, or type conversion before ';' token
 int a[]={1,2,4,8,16,32,64};  
                                            ^
0_0_21878391_21133.cpp:7:5: error: conflicting declaration 'int& nbsp'
 int b[]={1,3,9,27,81};  
     ^
0_0_21878391_21133.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int maxn=444444;  
       ^
0_0_21878391_21133.cpp:7:10: error: 'b' does not name a type
 int b[]={1,3,9,27,81};  
          ^
0_0_21878391_21133.cpp:7:33: error: expected constructor, destructor, or type conversion before ';' token
 int b[]={1,3,9,27,81};  
                                 ^
0_0_21878391_21133.cpp:7:39: error: expected constructor, destructor, or type conversion before ';' token
 int b[]={1,3,9,27,81};  
                                       ^
0_0_21878391_21133.cpp:8:5: error: conflicting declaration 'int& nbsp'
 int c[]={1,5,25};  
     ^
0_0_21878391_21133.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int maxn=444444;  
       ^
0_0_21878391_21133.cpp:8:10: error: 'c' does not name a type
 int c[]={1,5,25};  
          ^
0_0_21878391_21133.cpp:8:28: error: expected constructor, destructor, or type conversion before ';' token
 int c[]={1,5,25};  
                            ^
0_0_21878391_21133.cpp:8:34: error: expected constructor, destructor, or type conversion before ';' token
 int c[]={1,5,25};  
                                  ^
0_0_21878391_21133.cpp:9:5: error: conflicting declaration 'int& nbsp'
 int d[]={1,7,49};  
     ^
0_0_21878391_21133.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int maxn=444444;  
       ^
0_0_21878391_21133.cpp:9:10: error: 'd' does not name a type
 int d[]={1,7,49};  
          ^
0_0_21878391_21133.cpp:9:28: error: expected constructor, destructor, or type conversion before ';' token
 int d[]={1,7,49};  
                            ^
0_0_21878391_21133.cpp:9:34: error: expected constructor, destructor, or type conversion before ';' token
 int d[]={1,7,49};  
                                  ^
0_0_21878391_21133.cpp:10:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_21878391_21133.cpp:10:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_21878391_21133.cpp:16:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_21878391_21133.cpp:16:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_21878391_21133.cpp:17:5: error: conflicting declaration 'int& nbsp'
 int MAX[maxn],MIN[maxn];  
     ^
0_0_21878391_21133.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int maxn=444444;  
       ^
0_0_21878391_21133.cpp:17:10: error: 'MAX' does not name a type
 int MAX[maxn],MIN[maxn];  
          ^
0_0_21878391_21133.cpp:17:35: error: expected constructor, destructor, or type conversion before ';' token
 int MAX[maxn],MIN[maxn];  
                                   ^
0_0_21878391_21133.cpp:17:41: error: expected constructor, destructor, or type conversion before ';' token
 int MAX[maxn],MIN[maxn];  
                                         ^
0_0_21878391_21133.cpp:18:8: error: 'nbsp' declared as an 'inline' variable
 inline int turn(int x){  
        ^
0_0_21878391_21133.cpp:18:8: error: conflicting declaration 'int& nbsp'
0_0_21878391_21133.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int maxn=444444;


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-11-28 14:32:46, Gzip enabled