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_20446958_25336.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>  
         ^
0_0_20446958_25336.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iomanip>  
         ^
0_0_20446958_25336.cpp:3:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_20446958_25336.cpp:3:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_20446958_25336.cpp:3:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_20446958_25336.cpp:3:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_20446958_25336.cpp:3:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_20446958_25336.cpp:3:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_20446958_25336.cpp:4:5: error: 'nbsp' declared as reference but not initialized
 int x[100],y[100];  
     ^
0_0_20446958_25336.cpp:4:10: error: 'x' does not name a type
 int x[100],y[100];  
          ^
0_0_20446958_25336.cpp:4:29: error: expected constructor, destructor, or type conversion before ';' token
 int x[100],y[100];  
                             ^
0_0_20446958_25336.cpp:4:35: error: expected constructor, destructor, or type conversion before ';' token
 int x[100],y[100];  
                                   ^
0_0_20446958_25336.cpp:5:7: error: conflicting declaration 'float& nbsp'
 float s(int a,int b,int c,int d,int e,int f){  
       ^
0_0_20446958_25336.cpp:4:5: note: previous declaration as 'int& nbsp'
 int x[100],y[100];  
     ^
0_0_20446958_25336.cpp:5:22: error: expected ')' before ';' token
 float s(int a,int b,int c,int d,int e,int f){  
                      ^
0_0_20446958_25336.cpp:5:22: error: expected constructor, destructor, or type conversion before ';' token
0_0_20446958_25336.cpp:5:23: error: 'a' does not name a type
 float s(int a,int b,int c,int d,int e,int f){  
                       ^
0_0_20446958_25336.cpp:5:34: error: 'b' does not name a type
 float s(int a,int b,int c,int d,int e,int f){  
                                  ^
0_0_20446958_25336.cpp:5:45: error: 'c' does not name a type
 float s(int a,int b,int c,int d,int e,int f){  
                                             ^
0_0_20446958_25336.cpp:5:56: error: 'd' does not name a type
 float s(int a,int b,int c,int d,int e,int f){  
                                                        ^
0_0_20446958_25336.cpp:5:67: error: 'e' does not name a type
 float s(int a,int b,int c,int d,int e,int f){  
                                                                   ^
0_0_20446958_25336.cpp:5:78: error: 'f' does not name a type
 float s(int a,int b,int c,int d,int e,int f){  
                                                                              ^
0_0_20446958_25336.cpp:7:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_20446958_25336.cpp:7:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_20446958_25336.cpp:8:5: error: redefinition of 'int& nbsp'
 int main()  
     ^
0_0_20446958_25336.cpp:4:5: note: 'int& nbsp' previously declared here
 int x[100],y[100];  
     ^
0_0_20446958_25336.cpp:8:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 int main()  
                 ^
0_0_20446958_25336.cpp:8:27: error: expected constructor, destructor, or type conversion before ';' token
 int main()  
                           ^
0_0_20446958_25336.cpp:9: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-29 15:05:25, Gzip enabled