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_20374942_21847.cpp:2:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_20374942_21847.cpp:2:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_20374942_21847.cpp:2:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_20374942_21847.cpp:2:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_20374942_21847.cpp:2:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_20374942_21847.cpp:2:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_20374942_21847.cpp:3:5: error: 'nbsp' declared as reference but not initialized
 int dp[11][100001];  
     ^
0_0_20374942_21847.cpp:3:10: error: 'dp' does not name a type
 int dp[11][100001];  
          ^
0_0_20374942_21847.cpp:3:30: error: expected constructor, destructor, or type conversion before ';' token
 int dp[11][100001];  
                              ^
0_0_20374942_21847.cpp:3:36: error: expected constructor, destructor, or type conversion before ';' token
 int dp[11][100001];  
                                    ^
0_0_20374942_21847.cpp:4:8: error: 'nbsp' declared as an 'inline' variable
 inline int Max(int a,int b,int c=-1)  
        ^
0_0_20374942_21847.cpp:4:8: error: redefinition of 'int& nbsp'
0_0_20374942_21847.cpp:3:5: note: 'int& nbsp' previously declared here
 int dp[11][100001];  
     ^
0_0_20374942_21847.cpp:4:17: error: redefinition of 'int& nbsp'
 inline int Max(int a,int b,int c=-1)  
                 ^
0_0_20374942_21847.cpp:3:5: note: 'int& nbsp' previously declared here
 int dp[11][100001];  
     ^
0_0_20374942_21847.cpp:4:34: error: expected ')' before ';' token
 inline int Max(int a,int b,int c=-1)  
                                  ^
0_0_20374942_21847.cpp:4:34: error: expected constructor, destructor, or type conversion before ';' token
0_0_20374942_21847.cpp:4:35: error: 'a' does not name a type
 inline int Max(int a,int b,int c=-1)  
                                   ^
0_0_20374942_21847.cpp:4:46: error: 'b' does not name a type
 inline int Max(int a,int b,int c=-1)  
                                              ^
0_0_20374942_21847.cpp:4:57: error: 'c' does not name a type
 inline int Max(int a,int b,int c=-1)  
                                                         ^
0_0_20374942_21847.cpp:4:73: error: expected constructor, destructor, or type conversion before ';' token
 inline int Max(int a,int b,int c=-1)  
                                                                         ^
0_0_20374942_21847.cpp:5:1: error: expected unqualified-id before '{' token
 {  
 ^
0_0_20374942_21847.cpp:9:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_20374942_21847.cpp:9:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_20374942_21847.cpp:10:5: error: redefinition of 'int& nbsp'
 int main()  
     ^
0_0_20374942_21847.cpp:3:5: note: 'int& nbsp' previously declared here
 int dp[11][100001];  
     ^
0_0_20374942_21847.cpp:10:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 int main()  
                 ^
0_0_20374942_21847.cpp:10:27: error: expected constructor, destructor, or type conversion before ';' token
 int main()  
                           ^
0_0_20374942_21847.cpp:11: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:51:45, Gzip enabled