0_0_8542005_26042.cpp:131: error: redefinition of `struct node'
0_0_8542005_26042.cpp:8: error: previous definition of `struct node'
0_0_8542005_26042.cpp:133: error: invalid type in declaration before ';' token
0_0_8542005_26042.cpp:133: error: conflicting declaration 'int num[2000010]'
0_0_8542005_26042.cpp:10: error: 'num' has a previous declaration as `node num[2000010]'
0_0_8542005_26042.cpp:133: error: type mismatch with previous external decl of `int num[2000010]'
0_0_8542005_26042.cpp:10: error: previous external decl of `node num[2000010]'
0_0_8542005_26042.cpp:133: error: declaration of `int num[2000010]'
0_0_8542005_26042.cpp:10: error: conflicts with previous declaration `node num[2000010]'
0_0_8542005_26042.cpp:136: error: redefinition of `int first[1000001]'
0_0_8542005_26042.cpp:17: error: `int first[1000001]' previously declared here
0_0_8542005_26042.cpp:136: error: redefinition of `int d[1000001]'
0_0_8542005_26042.cpp:17: error: `int d[1000001]' previously declared here
0_0_8542005_26042.cpp:137: error: redefinition of `int n'
0_0_8542005_26042.cpp:18: error: `int n' previously declared here
0_0_8542005_26042.cpp:137: error: redefinition of `int m'
0_0_8542005_26042.cpp:18: error: `int m' previously declared here
0_0_8542005_26042.cpp:137: error: redefinition of `int cnt'
0_0_8542005_26042.cpp:18: error: `int cnt' previously declared here
0_0_8542005_26042.cpp: In function `void spfa(int)':
0_0_8542005_26042.cpp:151: error: redefinition of `void spfa(int)'
0_0_8542005_26042.cpp:21: error: `void spfa(int)' previously defined here
0_0_8542005_26042.cpp: In function `int main()':
0_0_8542005_26042.cpp:194: error: redefinition of `int main()'
0_0_8542005_26042.cpp:68: error: `int main()' previously defined here
|