0_0_30325595_27358.cpp:330:15: error: redefinition of 'const int dx4 []'
const int dx4[] = {-1, 0, 1, 0};
^
0_0_30325595_27358.cpp:46:11: note: 'const int dx4 [4]' previously defined here
const int dx4[] = {-1, 0, 1, 0};
^
0_0_30325595_27358.cpp:331:15: error: redefinition of 'const int dy4 []'
const int dy4[] = {0, 1, 0, -1};
^
0_0_30325595_27358.cpp:47:11: note: 'const int dy4 [4]' previously defined here
const int dy4[] = {0, 1, 0, -1};
^
0_0_30325595_27358.cpp:333:15: error: redefinition of 'const int dx8 []'
const int dx8[] = {-1, 0, 1, 0 , -1 , -1 , 1 , 1};
^
0_0_30325595_27358.cpp:49:11: note: 'const int dx8 [8]' previously defined here
const int dx8[] = {-1, 0, 1, 0 , -1 , -1 , 1 , 1};
^
0_0_30325595_27358.cpp:334:15: error: redefinition of 'const int dy8 []'
const int dy8[] = {0, 1, 0, -1 , -1 , 1 , -1 , 1};
^
0_0_30325595_27358.cpp:50:11: note: 'const int dy8 [8]' previously defined here
const int dy8[] = {0, 1, 0, -1 , -1 , 1 , -1 , 1};
^
0_0_30325595_27358.cpp: In function 'int reverse_bits(int)':
0_0_30325595_27358.cpp:357:12: error: redefinition of 'int reverse_bits(int)'
inline int reverse_bits(int x)
^
0_0_30325595_27358.cpp:73:12: note: 'int reverse_bits(int)' previously defined here
inline int reverse_bits(int x)
^
0_0_30325595_27358.cpp: In function 'LL reverse_bits(LL)':
0_0_30325595_27358.cpp:367:11: error: redefinition of 'LL reverse_bits(LL)'
inline LL reverse_bits(LL x)
^
0_0_30325595_27358.cpp:83:11: note: 'LL reverse_bits(LL)' previously defined here
inline LL reverse_bits(LL x)
^
0_0_30325595_27358.cpp: In function 'void time_start()':
0_0_30325595_27358.cpp:379:6: error: redefinition of 'void time_start()'
void time_start() //ignore it
^
0_0_30325595_27358.cpp:95:6: note: 'void time_start()' previously defined here
void time_start() //ignore it
^
0_0_30325595_27358.cpp: In function 'int qmax(int, int)':
0_0_30325595_27358.cpp:399:5: error: redefinition of 'int qmax(int, int)'
int qmax(int x, int y) { return (((y - x) >> (32 - 1)) & (x ^ y)) ^ y; }
^
0_0_30325595_27358.cpp:115:5: note: 'int qmax(int, int)' previously defined here
int qmax(int x, int y) { return (((y - x) >> (32 - 1)) & (x ^ y)) ^ y; }
^
0_0_30325595_27358.cpp: In function 'int qmin(int, int)':
0_0_30325595_27358.cpp:400:5: error: redefinition of 'int qmin(int, int)'
int qmin(int x, int y) { return (((y - x) >> (32 - 1)) & (x ^ y)) ^ x; }
^
0_0_30325595_27358.cpp:116:5: note: 'int qmin(int, int)' previously defined here
int qmin(int x, int y) { return (((y - x) >> (32 - 1)) & (x ^ y)) ^ x; }
^
0_0_30325595_27358.cpp: At global scope:
0_0_30325595_27358.cpp:401:11: error: redefinition of 'const int N'
const int N = 1005;
^
0_0_30325595_27358.cpp:117:11: note: 'const int N' previously defined here
const int N = 1005;
^
0_0_30325595_27358.cpp:402:11: error: redefinition of 'const int M'
const int M = 2005;
^
0_0_30325595_27358.cpp:118:11: note: 'const int M' previously defined here
const int M = 2005;
^
0_0_30325595_27358.cpp:403:10: error: redefinition of 'const LL INF'
const LL INF = 1e18;
^
0_0_30325595_27358.cpp:119:10: note: 'const LL INF' previously defined here
const LL INF = 1e18;
^
0_0_30325595_27358.cpp:404:14: error: redefinition of 'const double eps'
const double eps = 1e-8;
^
0_0_30325595_27358.cpp:120:14: note: 'const double eps' previously defined here
const double eps = 1e-8;
^
0_0_30325595_27358.cpp: In function 'void debug()':
0_0_30325595_27358.cpp:406:6: error: redefinition of 'void debug()'
void debug()
^
0_0_30325595_27358.cpp:122:6: note: 'void debug()' previously defined here
void debug()
^
0_0_30325595_27358.cpp: At global scope:
0_0_30325595_27358.cpp:415:5: error: redefinition of 'int s'
int s, x1[N], y1[N], x2[N], y2[N];
^
0_0_30325595_27358.cpp:131:5: note: 'int s' previously declared here
int s, x1[N], y1[N], x2[N], y2[N];
^
0_0_30325595_27358.cpp:415:12: error: redefinition of 'int x1 [1005]'
int s, x1[N], y1[N], x2[N], y2[N];
^
0_0_30325595_27358.cpp:131:8: note: 'int x1 [1005]' previously declared here
int s, x1[N], y1[N], x2[N], y2[N];
^
0_0_30325595_27358.cpp:415:19: error: redefinition of 'int y1 [1005]'
int s, x1[N], y1[N], x2[N], y2[N];
^
0_0_30325595_27358.cpp:131:15: note: 'int y1 [1005]' previously declared here
int s, x1[N], y1[N], x2[N], y2[N];
^
0_0_30325595_27358.cpp:415:26: error: redefinition of 'int x2 [1005]'
int s, x1[N], y1[N], x2[N], y2[N];
^
0_0_30325595_27358.cpp:131:22: note: 'int x2 [1005]' previously declared here
int s, x1[N], y1[N], x2[N], y2[N];
^
0_0_30325595_27358.cpp:415:33: error: redefinition of 'int y2 [1005]'
int s, x1[N], y1[N], x2[N], y2[N];
^
0_0_30325595_27358.cpp:131:29: note: 'int y2 [1005]' previously declared here
int s, x1[N], y1[N], x2[N], y2[N];
^
0_0_30325595_27358.cpp:416:5: error: redefinition of 'int n'
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:132:5: note: 'int n' previously declared here
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:416:8: error: redefinition of 'int m'
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:132:8: note: 'int m' previously declared here
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:416:15: error: redefinition of 'int xx [1005]'
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:132:11: note: 'int xx [1005]' previously declared here
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:416:22: error: redefinition of 'int yy [1005]'
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:132:18: note: 'int yy [1005]' previously declared here
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:416:25: error: redefinition of 'int sx'
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:132:25: note: 'int sx' previously declared here
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:416:29: error: redefinition of 'int sy'
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:132:29: note: 'int sy' previously declared here
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:416:33: error: redefinition of 'int ex'
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:132:33: note: 'int ex' previously declared here
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:416:37: error: redefinition of 'int ey'
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:132:37: note: 'int ey' previously declared here
int n, m, xx[N], yy[N], sx, sy, ex, ey;
^
0_0_30325595_27358.cpp:417:13: error: redefinition of 'int num [1005][1005]'
int num[N][N], spe[N][N], tot;
^
0_0_30325595_27358.cpp:133:5: note: 'int num [1005][1005]' previously declared here
int num[N][N], spe[N][N], tot;
^
0_0_30325595_27358.cpp:417:24: error: redefinition of 'int spe [1005][1005]'
int num[N][N], spe[N][N], tot;
^
0_0_30325595_27358.cpp:133:16: note: 'int spe [1005][1005]' previously declared here
int num[N][N], spe[N][N], tot;
^
0_0_30325595_27358.cpp:417:27: error: redefinition of 'int tot'
int num[N][N], spe[N][N], tot;
^
0_0_30325595_27358.cpp:133:27: note: 'int tot' previously declared here
int num[N][N], spe[N][N], tot;
^
0_0_30325595_27358.cpp:420:18: error: redefinition of 'std::vector<std::pair<double, int> > v [1010025]'
vector<p> v[N * N];
^
0_0_30325595_27358.cpp:136:11: note: 'std::vector<std::pair<double, int> > v [1010025]' previously declared here
vector<p> v[N * N];
^
0_0_30325595_27358.cpp:421:17: error: redefinition of 'double dis [1010025]'
double dis[N * N];
^
0_0_30325595_27358.cpp:137:8: note: 'double dis [1010025]' previously declared here
double dis[N * N];
^
0_0_30325595_27358.cpp:422:14: error: redefinition of 'bool in [1010025]'
bool in[N * N];
^
0_0_30325595_27358.cpp:138:6: note: 'bool in [1010025]' previously declared here
bool in[N * N];
^
0_0_30325595_27358.cpp: In function 'void ins(int, int, double)':
0_0_30325595_27358.cpp:423:6: error: redefinition of 'void ins(int, int, double)'
void ins(int a, int b, double c)
^
0_0_30325595_27358.cpp:139:6: note: 'void ins(int, int, double)' previously defined here
void ins(int a, int b, double c)
^
0_0_30325595_27358.cpp: In function 'void build(int, int)':
0_0_30325595_27358.cpp:427:6: error: redefinition of 'void build(int, int)'
void build(int x, int y)
^
0_0_30325595_27358.cpp:143:6: note: 'void build(int, int)'
|