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_18036034_27806.cpp:69:2: error: expected unqualified-id before '/' token
 */
  ^
0_0_18036034_27806.cpp:69:2: error: expected constructor, destructor, or type conversion before '/' token
0_0_18036034_27806.cpp:77:11: error: redefinition of 'const int N'
 const int N=100000+10;
           ^
0_0_18036034_27806.cpp:8:11: note: 'const int N' previously defined here
 const int N=100000+10;
           ^
0_0_18036034_27806.cpp:78:8: error: redefinition of 'struct Node'
 struct Node{
        ^
0_0_18036034_27806.cpp:9:8: error: previous definition of 'struct Node'
 struct Node{
        ^
0_0_18036034_27806.cpp:80:12: error: invalid type in declaration before ',' token
 }machine[N],task[N];
            ^
0_0_18036034_27806.cpp:80:12: error: conflicting declaration 'int machine [100010]'
0_0_18036034_27806.cpp:11:2: note: previous declaration as 'Node machine [100010]'
 }machine[N],task[N];
  ^
0_0_18036034_27806.cpp:80:19: error: conflicting declaration 'int task [100010]'
 }machine[N],task[N];
                   ^
0_0_18036034_27806.cpp:11:13: note: previous declaration as 'Node task [100010]'
 }machine[N],task[N];
             ^
0_0_18036034_27806.cpp: In function 'bool cmp(Node, Node)':
0_0_18036034_27806.cpp:81:6: error: redefinition of 'bool cmp(Node, Node)'
 bool cmp(Node a,Node b){    //鎺掑簭 
      ^
0_0_18036034_27806.cpp:12:6: note: 'bool cmp(Node, Node)' previously defined here
 bool cmp(Node a,Node b){    //鎺掑簭 
      ^
0_0_18036034_27806.cpp: At global scope:
0_0_18036034_27806.cpp:86:12: error: redefinition of 'bool book [100010]'
 bool book[N];      //鏍囪鏈哄櫒 
            ^
0_0_18036034_27806.cpp:17:6: note: 'bool book [100010]' previously declared here
 bool book[N];      //鏍囪鏈哄櫒 
      ^
0_0_18036034_27806.cpp: In function 'int main()':
0_0_18036034_27806.cpp:87:5: error: redefinition of 'int main()'
 int main(){ 
     ^
0_0_18036034_27806.cpp:18:5: note: 'int main()' previously defined here
 int main(){ 
     ^


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-26 11:34:57, Gzip enabled