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_23331925_15850.cpp:8:8: error: redeclaration of 'int& I::nbsp'
     char name[100];
        ^
0_0_23331925_15850.cpp:8:2: note: previous declaration 'int& I::nbsp'
     char name[100];
  ^
0_0_23331925_15850.cpp:8:14: error: redeclaration of 'int& I::nbsp'
     char name[100];
              ^
0_0_23331925_15850.cpp:8:2: note: previous declaration 'int& I::nbsp'
     char name[100];
  ^
0_0_23331925_15850.cpp:8:20: error: redeclaration of 'int& I::nbsp'
     char name[100];
                    ^
0_0_23331925_15850.cpp:8:2: note: previous declaration 'int& I::nbsp'
     char name[100];
  ^
0_0_23331925_15850.cpp:9:2: error: redeclaration of 'int& I::nbsp'
     int flag;
  ^
0_0_23331925_15850.cpp:8:2: note: previous declaration 'int& I::nbsp'
     char name[100];
  ^
0_0_23331925_15850.cpp:9:8: error: redeclaration of 'int& I::nbsp'
     int flag;
        ^
0_0_23331925_15850.cpp:8:2: note: previous declaration 'int& I::nbsp'
     char name[100];
  ^
0_0_23331925_15850.cpp:9:14: error: redeclaration of 'int& I::nbsp'
     int flag;
              ^
0_0_23331925_15850.cpp:8:2: note: previous declaration 'int& I::nbsp'
     char name[100];
  ^
0_0_23331925_15850.cpp:9:20: error: redeclaration of 'int& I::nbsp'
     int flag;
                    ^
0_0_23331925_15850.cpp:8:2: note: previous declaration 'int& I::nbsp'
     char name[100];
  ^
0_0_23331925_15850.cpp:11:12: error: use of deleted function 'I::I()'
 I stra[1005];
            ^
0_0_23331925_15850.cpp:6:16: note: 'I::I()' is implicitly deleted because the default definition would be ill-formed:
 typedef struct I
                ^
0_0_23331925_15850.cpp:6:16: error: uninitialized reference member in 'struct I'
0_0_23331925_15850.cpp:8:2: note: 'int& I::nbsp' should be initialized
     char name[100];
  ^
0_0_23331925_15850.cpp: In function 'int main()':
0_0_23331925_15850.cpp:14:2: error: 'nbsp' was not declared in this scope
     int a,b,c,i,j,k;
  ^
0_0_23331925_15850.cpp:30:121: error: break statement not within loop or switch
                     break;
                                                                                                                         ^
0_0_23331925_15850.cpp:42:121: error: break statement not within loop or switch
                     break;
                                                                                                                         ^


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-20 12:40:25, Gzip enabled