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_21096239_24066.cpp:15:8: error: macro names must be identifiers
 #define exp 1e-10  
        ^
0_0_21096239_24066.cpp:16:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_21096239_24066.cpp:16:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_21096239_24066.cpp:16:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_21096239_24066.cpp:16:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_21096239_24066.cpp:16:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_21096239_24066.cpp:16:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_21096239_24066.cpp:17:7: error: 'nbsp' declared as reference but not initialized
 const int N = 1005;  
       ^
0_0_21096239_24066.cpp:17:16: error: conflicting declaration 'int& nbsp'
 const int N = 1005;  
                ^
0_0_21096239_24066.cpp:17:7: note: previous declaration as 'const int& nbsp'
 const int N = 1005;  
       ^
0_0_21096239_24066.cpp:17:21: error: 'N' does not name a type
 const int N = 1005;  
                     ^
0_0_21096239_24066.cpp:17:28: error: expected unqualified-id before '=' token
 const int N = 1005;  
                            ^
0_0_21096239_24066.cpp:17:35: error: expected unqualified-id before numeric constant
 const int N = 1005;  
                                   ^
0_0_21096239_24066.cpp:17:45: error: expected constructor, destructor, or type conversion before ';' token
 const int N = 1005;  
                                             ^
0_0_21096239_24066.cpp:17:51: error: expected constructor, destructor, or type conversion before ';' token
 const int N = 1005;  
                                                   ^
0_0_21096239_24066.cpp:18:7: error: redefinition of 'const int& nbsp'
 const int inf = 1000000000;  
       ^
0_0_21096239_24066.cpp:17:7: note: 'const int& nbsp' previously declared here
 const int N = 1005;  
       ^
0_0_21096239_24066.cpp:18:16: error: conflicting declaration 'int& nbsp'
 const int inf = 1000000000;  
                ^
0_0_21096239_24066.cpp:17:7: note: previous declaration as 'const int& nbsp'
 const int N = 1005;  
       ^
0_0_21096239_24066.cpp:18:21: error: 'inf' does not name a type
 const int inf = 1000000000;  
                     ^
0_0_21096239_24066.cpp:18:30: error: expected unqualified-id before '=' token
 const int inf = 1000000000;  
                              ^
0_0_21096239_24066.cpp:18:37: error: expected unqualified-id before numeric constant
 const int inf = 1000000000;  
                                     ^
0_0_21096239_24066.cpp:18:53: error: expected constructor, destructor, or type conversion before ';' token
 const int inf = 1000000000;  
                                                     ^
0_0_21096239_24066.cpp:18:59: error: expected constructor, destructor, or type conversion before ';' token
 const int inf = 1000000000;  
                                                           ^
0_0_21096239_24066.cpp:19:7: error: redefinition of 'const int& nbsp'
 const int mod = 1000000007;  
       ^
0_0_21096239_24066.cpp:17:7: note: 'const int& nbsp' previously declared here
 const int N = 1005;  
       ^
0_0_21096239_24066.cpp:19:16: error: conflicting declaration 'int& nbsp'
 const int mod = 1000000007;  
                ^
0_0_21096239_24066.cpp:17:7: note: previous declaration as 'const int& nbsp'
 const int N = 1005;  
       ^
0_0_21096239_24066.cpp:19:21: error: 'mod' does not name a type
 const int mod = 1000000007;  
                     ^
0_0_21096239_24066.cpp:19:30: error: expected unqualified-id before '=' token
 const int mod = 1000000007;  
                              ^
0_0_21096239_24066.cpp:19:37: error: expected unqualified-id before numeric constant
 const int mod = 1000000007;  
                                     ^
0_0_21096239_24066.cpp:19:53: error: expected constructor, destructor, or type conversion before ';' token
 const int mod = 1000000007;  
                                                     ^
0_0_21096239_24066.cpp:19:59: error: expected constructor, destructor, or type conversion before ';' token
 const int mod = 1000000007;  
                                                           ^
0_0_21096239_24066.cpp:20:5: error: conflicting declaration 'int& nbsp'
 int s[N*2][2],w[N],a[N],b[N];  
     ^
0_0_21096239_24066.cpp:17:7: note: previous declaration as 'const int& nbsp'
 const int N = 1005;  
       ^
0_0_21096239_24066.cpp:20:10: error: 's' does not name a type
 int s[N*2][2],w[N],a[N],b[N];  
          ^
0_0_21096239_24066.cpp:20:40: error: expected constructor, destructor, or type conversion before ';' token
 int s[N*2][2],w[N],a[N],b[N];  
                                        ^
0_0_21096239_24066.cpp:20:46: error: expected constructor, destructor, or type conversion before ';' token
 int s[N*2][2],w[N],a[N],b[N];  
                                              ^
0_0_21096239_24066.cpp:21:5: error: conflicting declaration 'int& nbsp'
 int main()  
     ^
0_0_21096239_24066.cpp:17:7: note: previous declaration as 'const int& nbsp'
 const int N = 1005;  
       ^
0_0_21096239_24066.cpp:21:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 int main()  
                 ^
0_0_21096239_24066.cpp:21:27: error: expected constructor, destructor, or type conversion before ';' token
 int main()  
                           ^
0_0_21096239_24066.cpp:22: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-17 07:42:41, Gzip enabled