0_0_19193021_20347.cpp:72:11: error: redefinition of 'const int MAX'
const int MAX=2001;
^
0_0_19193021_20347.cpp:4:11: note: 'const int MAX' previously defined here
const int MAX=2001;
^
0_0_19193021_20347.cpp:73:11: error: redefinition of 'const int MAXINT'
const int MAXINT=999999999;
^
0_0_19193021_20347.cpp:5:11: note: 'const int MAXINT' previously defined here
const int MAXINT=999999999;
^
0_0_19193021_20347.cpp:74:8: error: redefinition of 'struct point'
struct point
^
0_0_19193021_20347.cpp:6:8: error: previous definition of 'struct point'
struct point
^
0_0_19193021_20347.cpp:78:9: error: invalid type in declaration before ';' token
}sq[MAX];
^
0_0_19193021_20347.cpp:78:9: error: conflicting declaration 'int sq [2001]'
0_0_19193021_20347.cpp:10:2: note: previous declaration as 'point sq [2001]'
}sq[MAX];
^
0_0_19193021_20347.cpp:79:17: error: redefinition of 'int map [2001][2001]'
int map[MAX][MAX];
^
0_0_19193021_20347.cpp:11:5: note: 'int map [2001][2001]' previously declared here
int map[MAX][MAX];
^
0_0_19193021_20347.cpp:80:14: error: redefinition of 'int visit [2001]'
int visit[MAX];
^
0_0_19193021_20347.cpp:12:5: note: 'int visit [2001]' previously declared here
int visit[MAX];
^
0_0_19193021_20347.cpp:81:13: error: redefinition of 'int dist [2001]'
int dist[MAX];
^
0_0_19193021_20347.cpp:13:5: note: 'int dist [2001]' previously declared here
int dist[MAX];
^
0_0_19193021_20347.cpp:82:5: error: redefinition of 'int n'
int n,m;
^
0_0_19193021_20347.cpp:14:5: note: 'int n' previously declared here
int n,m;
^
0_0_19193021_20347.cpp:82:7: error: redefinition of 'int m'
int n,m;
^
0_0_19193021_20347.cpp:14:7: note: 'int m' previously declared here
int n,m;
^
0_0_19193021_20347.cpp: In function 'void Dijkstra()':
0_0_19193021_20347.cpp:83:6: error: redefinition of 'void Dijkstra()'
void Dijkstra()
^
0_0_19193021_20347.cpp:15:6: note: 'void Dijkstra()' previously defined here
void Dijkstra()
^
0_0_19193021_20347.cpp: In function 'int main()':
0_0_19193021_20347.cpp:107:5: error: redefinition of 'int main()'
int main()
^
0_0_19193021_20347.cpp:39:5: note: 'int main()' previously defined here
int main()
^
|