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_22274151_2088.cpp:12:8: error: macro names must be identifiers
 #define LL long long  
        ^
0_0_22274151_2088.cpp:13:8: error: macro names must be identifiers
 #define eps 1e-8  
        ^
0_0_22274151_2088.cpp:14:8: error: macro names must be identifiers
 #define MP make_pair  
        ^
0_0_22274151_2088.cpp:15:8: error: macro names must be identifiers
 #define N 300020  
        ^
0_0_22274151_2088.cpp:16:8: error: macro names must be identifiers
 #define M 600020  
        ^
0_0_22274151_2088.cpp:18:8: error: macro names must be identifiers
 #define ls (i << 1)  
        ^
0_0_22274151_2088.cpp:19:8: error: macro names must be identifiers
 #define rs (ls | 1)  
        ^
0_0_22274151_2088.cpp:20:8: error: macro names must be identifiers
 #define md ((ll + rr) >> 1)  
        ^
0_0_22274151_2088.cpp:21:8: error: macro names must be identifiers
 #define lson ll, md, ls  
        ^
0_0_22274151_2088.cpp:22:8: error: macro names must be identifiers
 #define rson md + 1, rr, rs  
        ^
0_0_22274151_2088.cpp:23:8: error: macro names must be identifiers
 #define mod 258280327  
        ^
0_0_22274151_2088.cpp:24:8: error: macro names must be identifiers
 #define inf 0x3f3f3f3f  
        ^
0_0_22274151_2088.cpp:27:8: error: macro names must be identifiers
 #define ULL unsigned long long  
        ^
0_0_22274151_2088.cpp:9:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22274151_2088.cpp:9:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22274151_2088.cpp:10:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_22274151_2088.cpp:10:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_22274151_2088.cpp:10:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_22274151_2088.cpp:10:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_22274151_2088.cpp:10:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_22274151_2088.cpp:10:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_22274151_2088.cpp:11:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22274151_2088.cpp:11:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22274151_2088.cpp:25:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22274151_2088.cpp:25:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22274151_2088.cpp:26:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22274151_2088.cpp:26:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22274151_2088.cpp:28:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22274151_2088.cpp:28:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22274151_2088.cpp:29:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22274151_2088.cpp:29:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22274151_2088.cpp:30:5: error: 'nbsp' declared as reference but not initialized
 int readint() {  
     ^
0_0_22274151_2088.cpp:30:20: error: expected constructor, destructor, or type conversion before 'nbsp'
 int readint() {  
                    ^
0_0_22274151_2088.cpp:30:25: error: expected unqualified-id before '{' token
 int readint() {  
                         ^
0_0_22274151_2088.cpp:37:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_22274151_2088.cpp:37:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_22274151_2088.cpp:38:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22274151_2088.cpp:38:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22274151_2088.cpp:39:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22274151_2088.cpp:39:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22274151_2088.cpp:40:5: error: redefinition of 'int& nbsp'
 int fst[N], nxt[M], to[M], e;  
     ^
0_0_22274151_2088.cpp:30:5: note: 'int& nbsp' previously declared here
 int readint() {  
     ^
0_0_22274151_2088.cpp:40:10: error: 'fst' does not name a type
 int fst[N], nxt[M], to[M], e;  
          ^
0_0_22274151_2088.cpp:40:23: error: 'nxt' does not name a type
 int fst[N], nxt[M], to[M], e;  
                       ^
0_0_22274151_2088.cpp:40:36: error: 'to' does not name a type
 int fst[N], nxt[M], to[M], e;  
                                    ^
0_0_22274151_2088.cpp:40:48: error: 'e' does not name a type
 int fst[N], nxt[M], to[M], e;  
                                                ^
0_0_22274151_2088.cpp:40:55: error: expected constructor, destructor, or type conversion before ';' token
 int fst[N], nxt[M], to[M], e;  
                                                       ^
0_0_22274151_2088.cpp:40:61: error: expected constructor, destructor, or type conversion before ';' token
 int fst[N], nxt[M], to[M], e;  
                                                             ^
0_0_22274151_2088.cpp:41:5: error: redefinition of 'int& nbsp'
 int tot, pre[N], ch[N][2], key[N];  
     ^
0_0_22274151_2088.cpp:30:5: note: 'int& nbsp' previously declared here
 int readint() {  
     ^
0_0_22274151_2088.cpp:41:10: error: 'tot' does not name a type
 int tot, pre[N], ch[N][2], key[N];  
          ^
0_0_22274151_2088.cpp:41:20: error: 'pre' does not name a type
 int tot, pre[N], ch[N][2], key[N];  
                    ^
0_0_22274151_2088.cpp:41:33: error: 'ch' does not name a type
 int tot, pre[N], ch[N][2], key[N];  
                                 ^
0_0_22274151_2088.cpp:41:48: error: 'key' does not name a type
 int tot, pre[N], ch[N][2], key[N];  
                                                ^
0_0_22274151_2088.cpp:41:60: error: expected constructor, destructor, or type conversion before ';' token
 int tot, pre[N], ch[N][2], key[N];  
                                                            ^
0_0_22274151_2088.cpp:41:66: error: expected constructor, destructor, or type conversion before ';' token
 int tot, pre[N], ch[N][2], key[N];  
                                                                  ^
0_0_22274151_2088.cpp:42:5: error: redefinition of 'int& nbsp'
 int add[N], rev[N], mx[N];  
     ^
0_0_22274151_2088.cpp:30:5: note: 'int& nbsp' previously declared here
 int readint() {  
     ^
0_0_22274151_2088.cpp:42:10: error: 'add' does not name a type
 int add[N], rev[N], mx[N];  
          ^
0_0_22274151_2088.cpp:42:23: error: 'rev' does not name a type
 int add[N], rev[N], mx[N];  
                       ^
0_0_22274151_2088.cpp:42:36: error: 'mx' does not name a type
 int add[N], rev[N], mx[N];  
                                    ^
0_0_22274151_2088.cpp:42:47: error: expected constructor, destructor, or type conversion before ';' token
 int add[N], rev[N], mx[N];  
                                               ^
0_0_22274151_2088.cpp:42:53: error: expected constructor, destructor, or type conversion before ';' token
 int add[N], rev[N], mx[N];  
                                                     ^
0_0_22274151_2088.cpp:43:6: error: conflicting declaration 'bool& nbsp'
 bool rt[N];  
      ^
0_0_22274151_2088.cpp:30:5: note: previous declaration as 'int& nbsp'
 int readint() {  
     ^
0_0_22274151_2088.cpp:43:11: error: 'rt' does not nam


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-10-05 22:28:13, Gzip enabled