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_26736271_27633.cpp: In function 'int read()':
0_0_26736271_27633.cpp:87:12: error: redefinition of 'int read()'
 inline int read(){
            ^
0_0_26736271_27633.cpp:28:12: note: 'int read()' previously defined here
 inline int read(){
            ^
0_0_26736271_27633.cpp: At global scope:
0_0_26736271_27633.cpp:94:13: error: redefinition of 'long long int f [5010][2][2]'
 ll f[N][2][2];
             ^
0_0_26736271_27633.cpp:35:4: note: 'long long int f [5010][2][2]' previously declared here
 ll f[N][2][2];
    ^
0_0_26736271_27633.cpp:95:8: error: redefinition of 'struct node'
 struct node{
        ^
0_0_26736271_27633.cpp:36:8: error: previous definition of 'struct node'
 struct node{
        ^
0_0_26736271_27633.cpp:97:6: error: invalid type in declaration before ';' token
 }g[N];
      ^
0_0_26736271_27633.cpp:97:6: error: conflicting declaration 'int g [5010]'
0_0_26736271_27633.cpp:38:2: note: previous declaration as 'node g [5010]'
 }g[N];
  ^
0_0_26736271_27633.cpp: In function 'int main()':
0_0_26736271_27633.cpp:98:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_26736271_27633.cpp:39: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.015600(s) query 1, Server time : 2024-09-28 13:16:26, Gzip enabled