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_21839410_20267.cpp:7:8: error: redeclaration of 'int& team::nbsp'
     string name;
        ^
0_0_21839410_20267.cpp:7:2: note: previous declaration 'int& team::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:7:14: error: redeclaration of 'int& team::nbsp'
     string name;
              ^
0_0_21839410_20267.cpp:7:2: note: previous declaration 'int& team::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:7:20: error: redeclaration of 'int& team::nbsp'
     string name;
                    ^
0_0_21839410_20267.cpp:7:2: note: previous declaration 'int& team::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:8:2: error: redeclaration of 'int& team::nbsp'
     int price[4];
  ^
0_0_21839410_20267.cpp:7:2: note: previous declaration 'int& team::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:8:8: error: redeclaration of 'int& team::nbsp'
     int price[4];
        ^
0_0_21839410_20267.cpp:7:2: note: previous declaration 'int& team::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:8:14: error: redeclaration of 'int& team::nbsp'
     int price[4];
              ^
0_0_21839410_20267.cpp:7:2: note: previous declaration 'int& team::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:8:20: error: redeclaration of 'int& team::nbsp'
     int price[4];
                    ^
0_0_21839410_20267.cpp:7:2: note: previous declaration 'int& team::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:12:8: error: redeclaration of 'int& school::nbsp'
     string name;
        ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:12:14: error: redeclaration of 'int& school::nbsp'
     string name;
              ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:12:20: error: redeclaration of 'int& school::nbsp'
     string name;
                    ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:13:2: error: redeclaration of 'int& school::nbsp'
     int price[4];
  ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:13:8: error: redeclaration of 'int& school::nbsp'
     int price[4];
        ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:13:14: error: redeclaration of 'int& school::nbsp'
     int price[4];
              ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:13:20: error: redeclaration of 'int& school::nbsp'
     int price[4];
                    ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:14:2: error: redeclaration of 'int& school::nbsp'
     team tm[101];
  ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:14:8: error: redeclaration of 'int& school::nbsp'
     team tm[101];
        ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:14:14: error: redeclaration of 'int& school::nbsp'
     team tm[101];
              ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:14:20: error: redeclaration of 'int& school::nbsp'
     team tm[101];
                    ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:15:2: error: redeclaration of 'int& school::nbsp'
     int nowteamlen;
  ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:15:8: error: redeclaration of 'int& school::nbsp'
     int nowteamlen;
        ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:15:14: error: redeclaration of 'int& school::nbsp'
     int nowteamlen;
              ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:15:20: error: redeclaration of 'int& school::nbsp'
     int nowteamlen;
                    ^
0_0_21839410_20267.cpp:12:2: note: previous declaration 'int& school::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:19:8: error: redeclaration of 'int& place::nbsp'
     string name;
        ^
0_0_21839410_20267.cpp:19:2: note: previous declaration 'int& place::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:19:14: error: redeclaration of 'int& place::nbsp'
     string name;
              ^
0_0_21839410_20267.cpp:19:2: note: previous declaration 'int& place::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:19:20: error: redeclaration of 'int& place::nbsp'
     string name;
                    ^
0_0_21839410_20267.cpp:19:2: note: previous declaration 'int& place::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:20:2: error: redeclaration of 'int& place::nbsp'
     int price[4];
  ^
0_0_21839410_20267.cpp:19:2: note: previous declaration 'int& place::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:20:8: error: redeclaration of 'int& place::nbsp'
     int price[4];
        ^
0_0_21839410_20267.cpp:19:2: note: previous declaration 'int& place::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:20:14: error: redeclaration of 'int& place::nbsp'
     int price[4];
              ^
0_0_21839410_20267.cpp:19:2: note: previous declaration 'int& place::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:20:20: error: redeclaration of 'int& place::nbsp'
     int price[4];
                    ^
0_0_21839410_20267.cpp:19:2: note: previous declaration 'int& place::nbsp'
     string name;
  ^
0_0_21839410_20267.cpp:22:15: error: use of deleted function 'school::school()'
 school scl[201];
               ^
0_0_21839410_20267.cpp:10:16: note: 'school::school()' is implicitly deleted because the default definition would be ill-formed:
 typedef struct school
                ^
0_0_21839410_20267.cpp:10:16: error: uninitialized reference member in 'struct school'
0_0_21839410_20267.cpp:12:2: note: 'int& school::nbsp' should be initialized
     string name;
  ^
0_0_21839410_20267.cpp:10:16: error: use of deleted function 'team::team()'
 typedef struct school
                ^
0_0_21839410_20267.cpp:5:16: note: 'team::team()' is implicitly deleted because the default definition would be ill-formed:
 typedef struct team
                ^
0_0_21839410_20267.cpp:5:16: error: uninitialized reference member in 'struct team'
0_0_21839410_20267.cpp:7:2: note: 'int& team::nbsp' should be initialized
     string name;
  ^
0_0_21839410_20267.cpp:23:14: error: use of deleted function 'place::place()'
 place plc[201];
              ^
0_0_21839410_20267.cpp:17:16: note: 'place::place()' is implicitly deleted because the default definition would be ill-formed:
 typedef struct place
                ^
0_0_21839410_20267.cpp:17:16: error: uninitialized reference member in 'struct place'
0_0_21839410_20267.cpp:19:2: note: 'int& place::nbsp' should be initialized
     string name;
  ^
0_0_21839410_20267.cpp: In function 'int tellprice(std::string)':
0_0_21839410_20267.cpp:26:2: error: 'nbsp' was not declared in this scope
     if(price=="gold")
  ^
0_0_21839410_20267.cpp: In function 'int cmpbyscl(const void*, const void*)':
0_0_21839410_20267.cpp:36:2: error: 'nbsp' was not declared in this scope
     school *x=(school *)a;
  ^
0_0_21839410_20267.cpp: In function 'int cmpbytm(const void*, const void*)':
0_0_21839410_20267.cpp:58:2: error: 'nbsp' was not declared in this scope
     team *x=(team *)a;
  ^
0_0_21839410_20267.cpp: In function 'int cmpbyplc(const void*, const void*)':
0_0_21839410_20267.cpp:80:2: error: 'nbsp' was not declared in this scope
     place *x=(place *)a;
  ^
0_0_21839410_20267.cpp: In function 'int main()':
0_0_21839410_20267.cpp:90:2: error: 'nbsp' was not 


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 07:54:42, Gzip enabled