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_20520371_10637.cpp:2:5: error: 'nbsp' declared as reference but not initialized
 int main(){
     ^
0_0_20520371_10637.cpp: In function 'int main()':
0_0_20520371_10637.cpp:3:32: error: 'nbsp' declared as reference but not initialized
     double m,n;
                                ^
0_0_20520371_10637.cpp:3:37: error: 'm' was not declared in this scope
     double m,n;
                                     ^
0_0_20520371_10637.cpp:3:39: error: 'n' was not declared in this scope
     double m,n;
                                       ^
0_0_20520371_10637.cpp:5:65: error: 'nbsp' declared as reference but not initialized
           int i,j,t;
                                                                 ^
0_0_20520371_10637.cpp:5:70: error: 'i' was not declared in this scope
           int i,j,t;
                                                                      ^
0_0_20520371_10637.cpp:5:72: error: 'j' was not declared in this scope
           int i,j,t;
                                                                        ^
0_0_20520371_10637.cpp:5:74: error: 't' was not declared in this scope
           int i,j,t;
                                                                          ^
0_0_20520371_10637.cpp:6:68: error: conflicting declaration 'double& nbsp'
           double sum=0,a[1000]={0},b[1000]={0};
                                                                    ^
0_0_20520371_10637.cpp:5:65: note: previous declaration as 'int& nbsp'
           int i,j,t;
                                                                 ^
0_0_20520371_10637.cpp:6:73: error: 'sum' was not declared in this scope
           double sum=0,a[1000]={0},b[1000]={0};
                                                                         ^
0_0_20520371_10637.cpp:6:79: error: 'a' was not declared in this scope
           double sum=0,a[1000]={0},b[1000]={0};
                                                                               ^
0_0_20520371_10637.cpp:6:91: error: 'b' was not declared in this scope
           double sum=0,a[1000]={0},b[1000]={0};
                                                                                           ^


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-16 08:05:15, Gzip enabled