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_20446973_24775.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>  
         ^
0_0_20446973_24775.cpp:2:8: error: 'nbsp' declared as reference but not initialized
 double area(double a, double b, double c, double d, double e, double f){  
        ^
0_0_20446973_24775.cpp:2:29: error: expected ')' before ';' token
 double area(double a, double b, double c, double d, double e, double f){  
                             ^
0_0_20446973_24775.cpp:2:29: error: expected constructor, destructor, or type conversion before ';' token
0_0_20446973_24775.cpp:2:30: error: 'a' does not name a type
 double area(double a, double b, double c, double d, double e, double f){  
                              ^
0_0_20446973_24775.cpp:2:45: error: redefinition of 'double& nbsp'
 double area(double a, double b, double c, double d, double e, double f){  
                                             ^
0_0_20446973_24775.cpp:2:8: note: 'double& nbsp' previously declared here
 double area(double a, double b, double c, double d, double e, double f){  
        ^
0_0_20446973_24775.cpp:2:50: error: 'b' does not name a type
 double area(double a, double b, double c, double d, double e, double f){  
                                                  ^
0_0_20446973_24775.cpp:2:65: error: redefinition of 'double& nbsp'
 double area(double a, double b, double c, double d, double e, double f){  
                                                                 ^
0_0_20446973_24775.cpp:2:8: note: 'double& nbsp' previously declared here
 double area(double a, double b, double c, double d, double e, double f){  
        ^
0_0_20446973_24775.cpp:2:70: error: 'c' does not name a type
 double area(double a, double b, double c, double d, double e, double f){  
                                                                      ^
0_0_20446973_24775.cpp:2:85: error: redefinition of 'double& nbsp'
 double area(double a, double b, double c, double d, double e, double f){  
                                                                                     ^
0_0_20446973_24775.cpp:2:8: note: 'double& nbsp' previously declared here
 double area(double a, double b, double c, double d, double e, double f){  
        ^
0_0_20446973_24775.cpp:2:90: error: 'd' does not name a type
 double area(double a, double b, double c, double d, double e, double f){  
                                                                                          ^
0_0_20446973_24775.cpp:2:105: error: redefinition of 'double& nbsp'
 double area(double a, double b, double c, double d, double e, double f){  
                                                                                                         ^
0_0_20446973_24775.cpp:2:8: note: 'double& nbsp' previously declared here
 double area(double a, double b, double c, double d, double e, double f){  
        ^
0_0_20446973_24775.cpp:2:110: error: 'e' does not name a type
 double area(double a, double b, double c, double d, double e, double f){  
                                                                                                              ^
0_0_20446973_24775.cpp:2:125: error: redefinition of 'double& nbsp'
 double area(double a, double b, double c, double d, double e, double f){  
                                                                                                                             ^
0_0_20446973_24775.cpp:2:8: note: 'double& nbsp' previously declared here
 double area(double a, double b, double c, double d, double e, double f){  
        ^
0_0_20446973_24775.cpp:2:130: error: 'f' does not name a type
 double area(double a, double b, double c, double d, double e, double f){  
                                                                                                                                  ^
0_0_20446973_24775.cpp:4:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_20446973_24775.cpp:4:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_20446973_24775.cpp:5:8: error: redefinition of 'double& nbsp'
 double area(double a, double b, double c, double d){  
        ^
0_0_20446973_24775.cpp:2:8: note: 'double& nbsp' previously declared here
 double area(double a, double b, double c, double d, double e, double f){  
        ^
0_0_20446973_24775.cpp:5:29: error: expected ')' before ';' token
 double area(double a, double b, double c, double d){  
                             ^
0_0_20446973_24775.cpp:5:29: error: expected constructor, destructor, or type conversion before ';' token
0_0_20446973_24775.cpp:5:30: error: 'a' does not name a type
 double area(double a, double b, double c, double d){  
                              ^
0_0_20446973_24775.cpp:5:45: error: redefinition of 'double& nbsp'
 double area(double a, double b, double c, double d){  
                                             ^
0_0_20446973_24775.cpp:2:8: note: 'double& nbsp' previously declared here
 double area(double a, double b, double c, double d, double e, double f){  
        ^
0_0_20446973_24775.cpp:5:50: error: 'b' does not name a type
 double area(double a, double b, double c, double d){  
                                                  ^
0_0_20446973_24775.cpp:5:65: error: redefinition of 'double& nbsp'
 double area(double a, double b, double c, double d){  
                                                                 ^
0_0_20446973_24775.cpp:2:8: note: 'double& nbsp' previously declared here
 double area(double a, double b, double c, double d, double e, double f){  
        ^
0_0_20446973_24775.cpp:5:70: error: 'c' does not name a type
 double area(double a, double b, double c, double d){  
                                                                      ^
0_0_20446973_24775.cpp:5:85: error: redefinition of 'double& nbsp'
 double area(double a, double b, double c, double d){  
                                                                                     ^
0_0_20446973_24775.cpp:2:8: note: 'double& nbsp' previously declared here
 double area(double a, double b, double c, double d, double e, double f){  
        ^
0_0_20446973_24775.cpp:5:90: error: 'd' does not name a type
 double area(double a, double b, double c, double d){  
                                                                                          ^
0_0_20446973_24775.cpp:7:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_20446973_24775.cpp:7:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_20446973_24775.cpp:8:5: error: conflicting declaration 'int& nbsp'
 int main(){  
     ^
0_0_20446973_24775.cpp:2:8: note: previous declaration as 'double& nbsp'
 double area(double a, double b, double c, double d, double e, double f){  
        ^
0_0_20446973_24775.cpp: In function 'int main()':
0_0_20446973_24775.cpp:9:32: error: 'nbsp' declared as reference but not initialized
     double r;  
                                ^
0_0_20446973_24775.cpp:9:37: error: 'r' was not declared in this scope
     double r;  
                                     ^
0_0_20446973_24775.cpp:10:32: error: redeclaration of 'double& nbsp'
     double x[100], y[100];  
                                ^
0_0_20446973_24775.cpp:9:32: note: 'double& nbsp' previously declared here
     double r;  
                                ^
0_0_204469


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 14:59:51, Gzip enabled