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_21022916_4377.cpp:3:5: error: 'nbsp' declared as reference but not initialized
 int main()
     ^
0_0_21022916_4377.cpp: In function 'int main()':
0_0_21022916_4377.cpp:5:30: error: 'nbsp' declared as reference but not initialized
     char ch[1005];
                              ^
0_0_21022916_4377.cpp:5:35: error: 'ch' was not declared in this scope
     char ch[1005];
                                   ^
0_0_21022916_4377.cpp:6:29: error: conflicting declaration 'int& nbsp'
     int i, len, numa, numb, numc, plaz, plaj;
                             ^
0_0_21022916_4377.cpp:5:30: note: previous declaration as 'char& nbsp'
     char ch[1005];
                              ^
0_0_21022916_4377.cpp:6:34: error: 'i' was not declared in this scope
     int i, len, numa, numb, numc, plaz, plaj;
                                  ^
0_0_21022916_4377.cpp:6:37: error: 'len' was not declared in this scope
     int i, len, numa, numb, numc, plaz, plaj;
                                     ^
0_0_21022916_4377.cpp:6:42: error: 'numa' was not declared in this scope
     int i, len, numa, numb, numc, plaz, plaj;
                                          ^
0_0_21022916_4377.cpp:6:48: error: 'numb' was not declared in this scope
     int i, len, numa, numb, numc, plaz, plaj;
                                                ^
0_0_21022916_4377.cpp:6:54: error: 'numc' was not declared in this scope
     int i, len, numa, numb, numc, plaz, plaj;
                                                      ^
0_0_21022916_4377.cpp:6:60: error: 'plaz' was not declared in this scope
     int i, len, numa, numb, numc, plaz, plaj;
                                                            ^
0_0_21022916_4377.cpp:6:66: error: 'plaj' was not declared in this scope
     int i, len, numa, numb, numc, plaz, plaj;
                                                                  ^
0_0_21022916_4377.cpp:9:53: error: 'nbsp' declared as reference but not initialized
         int flag=1;
                                                     ^
0_0_21022916_4377.cpp:9:58: error: 'flag' was not declared in this scope
         int flag=1;
                                                          ^
0_0_21022916_4377.cpp:16:97: error: break statement not within loop or switch
                 break;
                                                                                                 ^
0_0_21022916_4377.cpp:22:97: error: break statement not within loop or switch
                 break;
                                                                                                 ^
0_0_21022916_4377.cpp:29:73: error: continue statement not within a loop
             continue;
                                                                         ^
0_0_21022916_4377.cpp:37:97: error: break statement not within loop or switch
                 break;
                                                                                                 ^
0_0_21022916_4377.cpp:46:97: error: break statement not within loop or switch
                 break;
                                                                                                 ^
0_0_21022916_4377.cpp:55:97: error: break statement not within loop or switch
                 break;
                                                                                                 ^
0_0_21022916_4377.cpp:62:73: error: continue statement not within a loop
             continue;
                                                                         ^
0_0_21022916_4377.cpp:68:97: error: 'else' without a previous 'if'
                 else
                                                                                                 ^
0_0_21022916_4377.cpp:71:73: error: 'else' without a previous 'if'
             else
                                                                         ^
0_0_21022916_4377.cpp:74:32: error: invalid conversion from 'char*' 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-11-17 07:49:16, Gzip enabled