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_21188924_29621.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>  
         ^
0_0_21188924_29621.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstdio>  
         ^
0_0_21188924_29621.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstring>  
         ^
0_0_21188924_29621.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include <string>  
         ^
0_0_21188924_29621.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include <map>  
         ^
0_0_21188924_29621.cpp:6:9: error: #include expects "FILENAME" or <FILENAME>
 #include <algorithm>  
         ^
0_0_21188924_29621.cpp:7:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_21188924_29621.cpp:7:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_21188924_29621.cpp:7:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_21188924_29621.cpp:7:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_21188924_29621.cpp:7:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_21188924_29621.cpp:7:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_21188924_29621.cpp:8:7: error: 'nbsp' declared as reference but not initialized
 const int maxn = 40 + 2;  
       ^
0_0_21188924_29621.cpp:8:16: error: conflicting declaration 'int& nbsp'
 const int maxn = 40 + 2;  
                ^
0_0_21188924_29621.cpp:8:7: note: previous declaration as 'const int& nbsp'
 const int maxn = 40 + 2;  
       ^
0_0_21188924_29621.cpp:8:21: error: 'maxn' does not name a type
 const int maxn = 40 + 2;  
                     ^
0_0_21188924_29621.cpp:8:31: error: expected unqualified-id before '=' token
 const int maxn = 40 + 2;  
                               ^
0_0_21188924_29621.cpp:8:38: error: expected unqualified-id before numeric constant
 const int maxn = 40 + 2;  
                                      ^
0_0_21188924_29621.cpp:8:46: error: expected unqualified-id before '+' token
 const int maxn = 40 + 2;  
                                              ^
0_0_21188924_29621.cpp:8:53: error: expected unqualified-id before numeric constant
 const int maxn = 40 + 2;  
                                                     ^
0_0_21188924_29621.cpp:8:60: error: expected constructor, destructor, or type conversion before ';' token
 const int maxn = 40 + 2;  
                                                            ^
0_0_21188924_29621.cpp:8:66: error: expected constructor, destructor, or type conversion before ';' token
 const int maxn = 40 + 2;  
                                                                  ^
0_0_21188924_29621.cpp:9:1: error: 'map' does not name a type
 map<string, int> s;  
 ^
0_0_21188924_29621.cpp:9:21: error: expected unqualified-id before '>' token
 map<string, int> s;  
                     ^
0_0_21188924_29621.cpp:9:28: error: 's' does not name a type
 map<string, int> s;  
                            ^
0_0_21188924_29621.cpp:9:35: error: expected constructor, destructor, or type conversion before ';' token
 map<string, int> s;  
                                   ^
0_0_21188924_29621.cpp:9:41: error: expected constructor, destructor, or type conversion before ';' token
 map<string, int> s;  
                                         ^
0_0_21188924_29621.cpp:10:5: error: conflicting declaration 'int& nbsp'
 int main()  
     ^
0_0_21188924_29621.cpp:8:7: note: previous declaration as 'const int& nbsp'
 const int maxn = 40 + 2;  
       ^
0_0_21188924_29621.cpp:10:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 int main()  
                 ^
0_0_21188924_29621.cpp:10:27: error: expected constructor, destructor, or type conversion before ';' token
 int main()  
                           ^
0_0_21188924_29621.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-07-07 07:41:32, Gzip enabled