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_20375025_22089.cpp:5:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_20375025_22089.cpp:5:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_20375025_22089.cpp:5:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_20375025_22089.cpp:5:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_20375025_22089.cpp:5:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_20375025_22089.cpp:5:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_20375025_22089.cpp:6:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_20375025_22089.cpp:6:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_20375025_22089.cpp:7:7: error: expected identifier before '&' token
 struct node  
       ^
0_0_20375025_22089.cpp:7:12: error: invalid type in declaration before ';' token
 struct node  
            ^
0_0_20375025_22089.cpp:7:12: error: 'nbsp' declared as reference but not initialized
0_0_20375025_22089.cpp:7:13: error: 'node' does not name a type
 struct node  
             ^
0_0_20375025_22089.cpp:7:28: error: expected constructor, destructor, or type conversion before ';' token
 struct node  
                            ^
0_0_20375025_22089.cpp:8:1: error: expected unqualified-id before '{' token
 {  
 ^
0_0_20375025_22089.cpp:10:2: error: 's' does not name a type
 }s[100];  
  ^
0_0_20375025_22089.cpp:10:14: error: expected constructor, destructor, or type conversion before ';' token
 }s[100];  
              ^
0_0_20375025_22089.cpp:10:20: error: expected constructor, destructor, or type conversion before ';' token
 }s[100];  
                    ^
0_0_20375025_22089.cpp:11:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_20375025_22089.cpp:11:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_20375025_22089.cpp:12:5: error: redefinition of 'int& nbsp'
 int n,dp[100];  
     ^
0_0_20375025_22089.cpp:7:8: note: 'int& nbsp' previously declared here
 struct node  
        ^
0_0_20375025_22089.cpp:12:10: error: 'n' does not name a type
 int n,dp[100];  
          ^
0_0_20375025_22089.cpp:12:25: error: expected constructor, destructor, or type conversion before ';' token
 int n,dp[100];  
                         ^
0_0_20375025_22089.cpp:12:31: error: expected constructor, destructor, or type conversion before ';' token
 int n,dp[100];  
                               ^
0_0_20375025_22089.cpp:13:6: error: conflicting declaration 'bool& nbsp'
 bool cmp(node a,node b)  
      ^
0_0_20375025_22089.cpp:7:8: note: previous declaration as 'int& nbsp'
 struct node  
        ^
0_0_20375025_22089.cpp:13:14: error: expected constructor, destructor, or type conversion before '(' token
 bool cmp(node a,node b)  
              ^
0_0_20375025_22089.cpp:13:25: error: 'a' does not name a type
 bool cmp(node a,node b)  
                         ^
0_0_20375025_22089.cpp:13:37: error: 'b' does not name a type
 bool cmp(node a,node b)  
                                     ^
0_0_20375025_22089.cpp:13:50: error: expected constructor, destructor, or type conversion before ';' token
 bool cmp(node a,node b)  
                                                  ^
0_0_20375025_22089.cpp:14:1: error: expected unqualified-id before '{' token
 {  
 ^
0_0_20375025_22089.cpp:18:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_20375025_22089.cpp:18:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_20375025_22089.cpp:19:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_20375025_22089.cpp:19:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_20375025_22089.cpp:20:5: error: redefinition of 'int& nbsp'
 int DP()  
     ^
0_0_20375025_22089.cpp:7:8: note: 'int& nbsp' previously declared here
 struct node  
        ^
0_0_20375025_22089.cpp:20:15: error: expected constructor, destructor, or type conversion before 'nbsp'
 int DP()  
               ^
0_0_20375025_22089.cpp:20:25: error: expected constructor, destructor, or type conversion before ';' token
 int DP()  
                         ^
0_0_20375025_22089.cpp:21: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 10:24:11, Gzip enabled