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_29262140_17894.cpp:2:5: error: 'nbsp' declared as reference but not initialized
 int main()
     ^
0_0_29262140_17894.cpp: In function 'int main()':
0_0_29262140_17894.cpp:4:29: error: 'nbsp' declared as reference but not initialized
     int i,n,a[1001],j,k,t;
                             ^
0_0_29262140_17894.cpp:4:34: error: 'i' was not declared in this scope
     int i,n,a[1001],j,k,t;
                                  ^
0_0_29262140_17894.cpp:4:36: error: 'n' was not declared in this scope
     int i,n,a[1001],j,k,t;
                                    ^
0_0_29262140_17894.cpp:4:38: error: 'a' was not declared in this scope
     int i,n,a[1001],j,k,t;
                                      ^
0_0_29262140_17894.cpp:4:46: error: 'j' was not declared in this scope
     int i,n,a[1001],j,k,t;
                                              ^
0_0_29262140_17894.cpp:4:48: error: 'k' was not declared in this scope
     int i,n,a[1001],j,k,t;
                                                ^
0_0_29262140_17894.cpp:4:50: error: 't' was not declared in this scope
     int i,n,a[1001],j,k,t;
                                                  ^
0_0_29262140_17894.cpp:11:49: error: 'else' without a previous 'if'
         else k=i;
                                                 ^
0_0_29262140_17894.cpp:22:32: error: invalid conversion from 'int*' to 'int' [-fpermissive]
     return 0;
                                ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-11 01:41:37, Gzip enabled