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_20621255_27966.cpp:4:8: error: macro names must be identifiers
 #define N 50005  
        ^
0_0_20621255_27966.cpp:5:5: error: 'nbsp' declared as reference but not initialized
 int a[N],c[N];  
     ^
0_0_20621255_27966.cpp:5:10: error: 'a' does not name a type
 int a[N],c[N];  
          ^
0_0_20621255_27966.cpp:5:25: error: expected constructor, destructor, or type conversion before ';' token
 int a[N],c[N];  
                         ^
0_0_20621255_27966.cpp:5:31: error: expected constructor, destructor, or type conversion before ';' token
 int a[N],c[N];  
                               ^
0_0_20621255_27966.cpp:6:5: error: redefinition of 'int& nbsp'
 int n;  
     ^
0_0_20621255_27966.cpp:5:5: note: 'int& nbsp' previously declared here
 int a[N],c[N];  
     ^
0_0_20621255_27966.cpp:6:10: error: 'n' does not name a type
 int n;  
          ^
0_0_20621255_27966.cpp:6:17: error: expected constructor, destructor, or type conversion before ';' token
 int n;  
                 ^
0_0_20621255_27966.cpp:6:23: error: expected constructor, destructor, or type conversion before ';' token
 int n;  
                       ^
0_0_20621255_27966.cpp:7:5: error: redefinition of 'int& nbsp'
 int lowbit(int x)  
     ^
0_0_20621255_27966.cpp:5:5: note: 'int& nbsp' previously declared here
 int a[N],c[N];  
     ^
0_0_20621255_27966.cpp:7:25: error: expected ')' before ';' token
 int lowbit(int x)  
                         ^
0_0_20621255_27966.cpp:7:25: error: expected constructor, destructor, or type conversion before ';' token
0_0_20621255_27966.cpp:7:26: error: 'x' does not name a type
 int lowbit(int x)  
                          ^
0_0_20621255_27966.cpp:7:39: error: expected constructor, destructor, or type conversion before ';' token
 int lowbit(int x)  
                                       ^
0_0_20621255_27966.cpp:8:1: error: expected unqualified-id before '{' token
 {  
 ^
0_0_20621255_27966.cpp:10:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_20621255_27966.cpp:10:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_20621255_27966.cpp:11:6: error: cannot declare reference to 'void'
 void update(int p,int x)  
      ^
0_0_20621255_27966.cpp:11:6: error: variable or field 'nbsp' declared void
0_0_20621255_27966.cpp:11:26: error: expected ')' before ';' token
 void update(int p,int x)  
                          ^
0_0_20621255_27966.cpp:11:26: error: expected constructor, destructor, or type conversion before ';' token
0_0_20621255_27966.cpp:11:27: error: 'p' does not name a type
 void update(int p,int x)  
                           ^
0_0_20621255_27966.cpp:11:38: error: 'x' does not name a type
 void update(int p,int x)  
                                      ^
0_0_20621255_27966.cpp:11:51: error: expected constructor, destructor, or type conversion before ';' token
 void update(int p,int x)  
                                                   ^
0_0_20621255_27966.cpp:12:1: error: expected unqualified-id before '{' token
 {  
 ^


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-30 05:55:52, Gzip enabled