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_30597302_7916.cpp:8:8: error: redeclaration of 'int& node::nbsp'
     int deadline;
        ^
0_0_30597302_7916.cpp:8:2: note: previous declaration 'int& node::nbsp'
     int deadline;
  ^
0_0_30597302_7916.cpp:8:14: error: redeclaration of 'int& node::nbsp'
     int deadline;
              ^
0_0_30597302_7916.cpp:8:2: note: previous declaration 'int& node::nbsp'
     int deadline;
  ^
0_0_30597302_7916.cpp:9:2: error: redeclaration of 'int& node::nbsp'
     int score;
  ^
0_0_30597302_7916.cpp:8:2: note: previous declaration 'int& node::nbsp'
     int deadline;
  ^
0_0_30597302_7916.cpp:9:8: error: redeclaration of 'int& node::nbsp'
     int score;
        ^
0_0_30597302_7916.cpp:8:2: note: previous declaration 'int& node::nbsp'
     int deadline;
  ^
0_0_30597302_7916.cpp:9:14: error: redeclaration of 'int& node::nbsp'
     int score;
              ^
0_0_30597302_7916.cpp:8:2: note: previous declaration 'int& node::nbsp'
     int deadline;
  ^
0_0_30597302_7916.cpp:11:12: error: use of deleted function 'node::node()'
 limit c[MAX];
            ^
0_0_30597302_7916.cpp:6:16: note: 'node::node()' is implicitly deleted because the default definition would be ill-formed:
 typedef struct node
                ^
0_0_30597302_7916.cpp:6:16: error: uninitialized reference member in 'struct node'
0_0_30597302_7916.cpp:8:2: note: 'int& node::nbsp' should be initialized
     int deadline;
  ^
0_0_30597302_7916.cpp: In function 'int cmp(const void*, const void*)':
0_0_30597302_7916.cpp:14:2: error: 'nbsp' was not declared in this scope
     if((*(limit *)a).score!=(*(limit *)b).score)
  ^
0_0_30597302_7916.cpp:18:20: error: 'else' without a previous 'if'
     else
                    ^
0_0_30597302_7916.cpp: In function 'int main()':
0_0_30597302_7916.cpp:25:2: error: 'nbsp' was not declared in this scope
     int t,n,i,sum,j;
  ^
0_0_30597302_7916.cpp:49:116: 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-12-04 05:25:15, Gzip enabled