0_0_21090306_7582.cpp:35:11: error: redefinition of 'const int MAX_N'
const int MAX_N=10010;
^
0_0_21090306_7582.cpp:5:11: note: 'const int MAX_N' previously defined here
const int MAX_N=10010;
^
0_0_21090306_7582.cpp:36:11: error: redefinition of 'const int inf'
const int inf=0x7fffff;
^
0_0_21090306_7582.cpp:6:11: note: 'const int inf' previously defined here
const int inf=0x7fffff;
^
0_0_21090306_7582.cpp:37:8: error: redefinition of 'struct edge'
struct edge{int to,from,cost;};
^
0_0_21090306_7582.cpp:7:8: error: previous definition of 'struct edge'
struct edge{int to,from,cost;};
^
0_0_21090306_7582.cpp:38:12: error: redefinition of 'int d [10010]'
int d[MAX_N],V,E;
^
0_0_21090306_7582.cpp:8:5: note: 'int d [10010]' previously declared here
int d[MAX_N],V,E;
^
0_0_21090306_7582.cpp:38:14: error: redefinition of 'int V'
int d[MAX_N],V,E;
^
0_0_21090306_7582.cpp:8:14: note: 'int V' previously declared here
int d[MAX_N],V,E;
^
0_0_21090306_7582.cpp:38:16: error: redefinition of 'int E'
int d[MAX_N],V,E;
^
0_0_21090306_7582.cpp:8:16: note: 'int E' previously declared here
int d[MAX_N],V,E;
^
0_0_21090306_7582.cpp:39:14: error: redefinition of 'edge es [10010]'
edge es[MAX_N];
^
0_0_21090306_7582.cpp:9:6: note: 'edge es [10010]' previously declared here
edge es[MAX_N];
^
0_0_21090306_7582.cpp: In function 'void bellman_short(int)':
0_0_21090306_7582.cpp:40:6: error: redefinition of 'void bellman_short(int)'
void bellman_short(int s){
^
0_0_21090306_7582.cpp:10:6: note: 'void bellman_short(int)' previously defined here
void bellman_short(int s){
^
|