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_31985885_29029.cpp:2:5: error: 'nbsp' declared as reference but not initialized
 int main()
     ^
0_0_31985885_29029.cpp: In function 'int main()':
0_0_31985885_29029.cpp:4:29: error: 'nbsp' declared as reference but not initialized
     int i,n,a[111];
                             ^
0_0_31985885_29029.cpp:4:34: error: 'i' was not declared in this scope
     int i,n,a[111];
                                  ^
0_0_31985885_29029.cpp:4:36: error: 'n' was not declared in this scope
     int i,n,a[111];
                                    ^
0_0_31985885_29029.cpp:4:38: error: 'a' was not declared in this scope
     int i,n,a[111];
                                      ^
0_0_31985885_29029.cpp:10:53: error: 'nbsp' declared as reference but not initialized
         int min=0;
                                                     ^
0_0_31985885_29029.cpp:10:58: error: 'min' was not declared in this scope
         int min=0;
                                                          ^
0_0_31985885_29029.cpp:15:5: error: redeclaration of 'int& nbsp'
 int t;
     ^
0_0_31985885_29029.cpp:10:53: note: 'int& nbsp' previously declared here
         int min=0;
                                                     ^
0_0_31985885_29029.cpp:15:10: error: 't' was not declared in this scope
 int t;
          ^
0_0_31985885_29029.cpp:25:32: error: invalid conversion from 'int*' to 'int' [-fpermissive]
     return 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-07-03 06:54:35, Gzip enabled