0_0_39402747_18534.cpp:75:11: error: redefinition of 'const int N'
75 | const int N = 12010, M = 13010;
| ^
0_0_39402747_18534.cpp:5:11: note: 'const int N' previously defined here
5 | const int N = 12010, M = 13010;
| ^
0_0_39402747_18534.cpp:75:22: error: redefinition of 'const int M'
75 | const int N = 12010, M = 13010;
| ^
0_0_39402747_18534.cpp:5:22: note: 'const int M' previously defined here
5 | const int N = 12010, M = 13010;
| ^
0_0_39402747_18534.cpp:76:5: error: redefinition of 'int n'
76 | int n, m, s, x, y, z, num, sta;
| ^
0_0_39402747_18534.cpp:6:5: note: 'int n' previously declared here
6 | int n, m, s, x, y, z, num, sta;
| ^
0_0_39402747_18534.cpp:76:8: error: redefinition of 'int m'
76 | int n, m, s, x, y, z, num, sta;
| ^
0_0_39402747_18534.cpp:6:8: note: 'int m' previously declared here
6 | int n, m, s, x, y, z, num, sta;
| ^
0_0_39402747_18534.cpp:76:11: error: redefinition of 'int s'
76 | int n, m, s, x, y, z, num, sta;
| ^
0_0_39402747_18534.cpp:6:11: note: 'int s' previously declared here
6 | int n, m, s, x, y, z, num, sta;
| ^
0_0_39402747_18534.cpp:76:14: error: redefinition of 'int x'
76 | int n, m, s, x, y, z, num, sta;
| ^
0_0_39402747_18534.cpp:6:14: note: 'int x' previously declared here
6 | int n, m, s, x, y, z, num, sta;
| ^
0_0_39402747_18534.cpp:76:17: error: redefinition of 'int y'
76 | int n, m, s, x, y, z, num, sta;
| ^
0_0_39402747_18534.cpp:6:17: note: 'int y' previously declared here
6 | int n, m, s, x, y, z, num, sta;
| ^
0_0_39402747_18534.cpp:76:20: error: redefinition of 'int z'
76 | int n, m, s, x, y, z, num, sta;
| ^
0_0_39402747_18534.cpp:6:20: note: 'int z' previously declared here
6 | int n, m, s, x, y, z, num, sta;
| ^
0_0_39402747_18534.cpp:76:23: error: redefinition of 'int num'
76 | int n, m, s, x, y, z, num, sta;
| ^~~
0_0_39402747_18534.cpp:6:23: note: 'int num' previously declared here
6 | int n, m, s, x, y, z, num, sta;
| ^~~
0_0_39402747_18534.cpp:76:28: error: redefinition of 'int sta'
76 | int n, m, s, x, y, z, num, sta;
| ^~~
0_0_39402747_18534.cpp:6:28: note: 'int sta' previously declared here
6 | int n, m, s, x, y, z, num, sta;
| ^~~
0_0_39402747_18534.cpp:77:5: error: redefinition of 'int h [12010]'
77 | int h[N], e[M], ne[M], W[M], idx;
| ^
0_0_39402747_18534.cpp:7:5: note: 'int h [12010]' previously declared here
7 | int h[N], e[M], ne[M], W[M], idx;
| ^
0_0_39402747_18534.cpp:77:11: error: redefinition of 'int e [13010]'
77 | int h[N], e[M], ne[M], W[M], idx;
| ^
0_0_39402747_18534.cpp:7:11: note: 'int e [13010]' previously declared here
7 | int h[N], e[M], ne[M], W[M], idx;
| ^
0_0_39402747_18534.cpp:77:17: error: redefinition of 'int ne [13010]'
77 | int h[N], e[M], ne[M], W[M], idx;
| ^~
0_0_39402747_18534.cpp:7:17: note: 'int ne [13010]' previously declared here
7 | int h[N], e[M], ne[M], W[M], idx;
| ^~
0_0_39402747_18534.cpp:77:24: error: redefinition of 'int W [13010]'
77 | int h[N], e[M], ne[M], W[M], idx;
| ^
0_0_39402747_18534.cpp:7:24: note: 'int W [13010]' previously declared here
7 | int h[N], e[M], ne[M], W[M], idx;
| ^
0_0_39402747_18534.cpp:77:30: error: redefinition of 'int idx'
77 | int h[N], e[M], ne[M], W[M], idx;
| ^~~
0_0_39402747_18534.cpp:7:30: note: 'int idx' previously declared here
7 | int h[N], e[M], ne[M], W[M], idx;
| ^~~
0_0_39402747_18534.cpp:78:5: error: redefinition of 'int dist [12010]'
78 | int dist[N];
| ^~~~
0_0_39402747_18534.cpp:8:5: note: 'int dist [12010]' previously declared here
8 | int dist[N];
| ^~~~
0_0_39402747_18534.cpp:79:6: error: redefinition of 'bool st [12010]'
79 | bool st[N];
| ^~
0_0_39402747_18534.cpp:9:6: note: 'bool st [12010]' previously declared here
9 | bool st[N];
| ^~
0_0_39402747_18534.cpp:81:6: error: redefinition of 'void add(int, int, int)'
81 | void add(int a, int b, int c)
| ^~~
0_0_39402747_18534.cpp:11:6: note: 'void add(int, int, int)' previously defined here
11 | void add(int a, int b, int c)
| ^~~
0_0_39402747_18534.cpp:90:48: error: redefinition of 'std::priority_queue<std::pair<int, int>, std::vector<std::pair<int, int> >, std::greater<std::pair<int, int> > > q'
90 | priority_queue<PII, vector<PII>, greater<PII>> q;
| ^
0_0_39402747_18534.cpp:19:48: note: 'std::priority_queue<std::pair<int, int>, std::vector<std::pair<int, int> >, std::greater<std::pair<int, int> > > q' previously declared here
19 | priority_queue<PII, vector<PII>, greater<PII>> q;
| ^
0_0_39402747_18534.cpp:92:5: error: redefinition of 'int dijsktra(int)'
92 | int dijsktra(int s)
| ^~~~~~~~
0_0_39402747_18534.cpp:20:5: note: 'int dijsktra(int)' previously defined here
20 | int dijsktra(int s)
| ^~~~~~~~
0_0_39402747_18534.cpp:123:5: error: redefinition of 'int main()'
123 | int main()
| ^~~~
0_0_39402747_18534.cpp:48:5: note: 'int main()' previously defined here
48 | int main()
| ^~~~
|