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_22811704_30107.cpp:5:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_22811704_30107.cpp:5:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_22811704_30107.cpp:5:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_22811704_30107.cpp:5:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_22811704_30107.cpp:5:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_22811704_30107.cpp:5:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_22811704_30107.cpp:6:7: error: 'nbsp' declared as reference but not initialized
 const int maxn=100002;  
       ^
0_0_22811704_30107.cpp:6:16: error: conflicting declaration 'int& nbsp'
 const int maxn=100002;  
                ^
0_0_22811704_30107.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int maxn=100002;  
       ^
0_0_22811704_30107.cpp:6:21: error: 'maxn' does not name a type
 const int maxn=100002;  
                     ^
0_0_22811704_30107.cpp:6:38: error: expected constructor, destructor, or type conversion before ';' token
 const int maxn=100002;  
                                      ^
0_0_22811704_30107.cpp:6:44: error: expected constructor, destructor, or type conversion before ';' token
 const int maxn=100002;  
                                            ^
0_0_22811704_30107.cpp:7:5: error: conflicting declaration 'int& nbsp'
 int qmin[maxn],qmax[maxn],n,m,k,a[maxn];  
     ^
0_0_22811704_30107.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int maxn=100002;  
       ^
0_0_22811704_30107.cpp:7:10: error: 'qmin' does not name a type
 int qmin[maxn],qmax[maxn],n,m,k,a[maxn];  
          ^
0_0_22811704_30107.cpp:7:51: error: expected constructor, destructor, or type conversion before ';' token
 int qmin[maxn],qmax[maxn],n,m,k,a[maxn];  
                                                   ^
0_0_22811704_30107.cpp:7:57: error: expected constructor, destructor, or type conversion before ';' token
 int qmin[maxn],qmax[maxn],n,m,k,a[maxn];  
                                                         ^
0_0_22811704_30107.cpp:8:5: error: conflicting declaration 'int& nbsp'
 int main()  
     ^
0_0_22811704_30107.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int maxn=100002;  
       ^
0_0_22811704_30107.cpp:8:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 int main()  
                 ^
0_0_22811704_30107.cpp:8:27: error: expected constructor, destructor, or type conversion before ';' token
 int main()  
                           ^
0_0_22811704_30107.cpp:9: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-26 06:34:34, Gzip enabled