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_21021695_21549.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>  
         ^
0_0_21021695_21549.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <string.h>  
         ^
0_0_21021695_21549.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include <vector>  
         ^
0_0_21021695_21549.cpp:4:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_21021695_21549.cpp:4:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_21021695_21549.cpp:4:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_21021695_21549.cpp:4:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_21021695_21549.cpp:4:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_21021695_21549.cpp:4:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_21021695_21549.cpp:5:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_21021695_21549.cpp:5:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_21021695_21549.cpp:6:1: error: 'vector' does not name a type
 vector <int> a[20];  
 ^
0_0_21021695_21549.cpp:6:13: error: expected unqualified-id before '<' token
 vector <int> a[20];  
             ^
0_0_21021695_21549.cpp:6:24: error: 'a' does not name a type
 vector <int> a[20];  
                        ^
0_0_21021695_21549.cpp:6:35: error: expected constructor, destructor, or type conversion before ';' token
 vector <int> a[20];  
                                   ^
0_0_21021695_21549.cpp:6:41: error: expected constructor, destructor, or type conversion before ';' token
 vector <int> a[20];  
                                         ^
0_0_21021695_21549.cpp:7:6: error: 'nbsp' declared as reference but not initialized
 long long dp[(1<<18)+6][20];  
      ^
0_0_21021695_21549.cpp:7:16: error: redefinition of 'long int& nbsp'
 long long dp[(1<<18)+6][20];  
                ^
0_0_21021695_21549.cpp:7:6: note: 'long int& nbsp' previously declared here
 long long dp[(1<<18)+6][20];  
      ^
0_0_21021695_21549.cpp:7:21: error: 'dp' does not name a type
 long long dp[(1<<18)+6][20];  
                     ^
0_0_21021695_21549.cpp:7:44: error: expected constructor, destructor, or type conversion before ';' token
 long long dp[(1<<18)+6][20];  
                                            ^
0_0_21021695_21549.cpp:7:50: error: expected constructor, destructor, or type conversion before ';' token
 long long dp[(1<<18)+6][20];  
                                                  ^
0_0_21021695_21549.cpp:8:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_21021695_21549.cpp:8:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_21021695_21549.cpp:9:5: error: conflicting declaration 'int& nbsp'
 int main()  
     ^
0_0_21021695_21549.cpp:7:6: note: previous declaration as 'long int& nbsp'
 long long dp[(1<<18)+6][20];  
      ^
0_0_21021695_21549.cpp:9:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 int main()  
                 ^
0_0_21021695_21549.cpp:9:27: error: expected constructor, destructor, or type conversion before ';' token
 int main()  
                           ^
0_0_21021695_21549.cpp:10: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 21:44:11, Gzip enabled