0_0_19395962_14251.cpp:105:2: error: stray '\322' in program
以下是slack数组优化的:
^
0_0_19395962_14251.cpp:105:2: error: stray '\324' in program
0_0_19395962_14251.cpp:105:2: error: stray '\317' in program
0_0_19395962_14251.cpp:105:2: error: stray '\302' in program
0_0_19395962_14251.cpp:105:2: error: stray '\312' in program
0_0_19395962_14251.cpp:105:2: error: stray '\307' in program
0_0_19395962_14251.cpp:105:2: error: stray '\312' in program
0_0_19395962_14251.cpp:105:2: error: stray '\375' in program
0_0_19395962_14251.cpp:105:2: error: stray '\327' in program
0_0_19395962_14251.cpp:105:2: error: stray '\351' in program
0_0_19395962_14251.cpp:105:2: error: stray '\323' in program
0_0_19395962_14251.cpp:105:2: error: stray '\305' in program
0_0_19395962_14251.cpp:105:2: error: stray '\273' in program
0_0_19395962_14251.cpp:105:2: error: stray '\257' in program
0_0_19395962_14251.cpp:105:2: error: stray '\265' in program
0_0_19395962_14251.cpp:105:2: error: stray '\304' in program
0_0_19395962_14251.cpp:105:2: error: stray '\243' in program
0_0_19395962_14251.cpp:105:2: error: stray '\272' in program
0_0_19395962_14251.cpp:105:8: error: 'slack' does not name a type
以下是slack数组优化的:
^
0_0_19395962_14251.cpp:116:5: error: redefinition of 'int n'
int n,m,numm,numh;
^
0_0_19395962_14251.cpp:10:5: note: 'int n' previously declared here
int n,m,numm,numh;
^
0_0_19395962_14251.cpp:116:7: error: redefinition of 'int m'
int n,m,numm,numh;
^
0_0_19395962_14251.cpp:10:7: note: 'int m' previously declared here
int n,m,numm,numh;
^
0_0_19395962_14251.cpp:116:9: error: redefinition of 'int numm'
int n,m,numm,numh;
^
0_0_19395962_14251.cpp:10:9: note: 'int numm' previously declared here
int n,m,numm,numh;
^
0_0_19395962_14251.cpp:116:14: error: redefinition of 'int numh'
int n,m,numm,numh;
^
0_0_19395962_14251.cpp:10:14: note: 'int numh' previously declared here
int n,m,numm,numh;
^
0_0_19395962_14251.cpp:117:19: error: redefinition of 'int map [105][105]'
int map[MAXN][MAXN],lx[MAXN],ly[MAXN],vx[MAXN],vy[MAXN],matchy_x[MAXN],slack[MAXN];
^
0_0_19395962_14251.cpp:11:5: note: 'int map [105][105]' previously declared here
int map[MAXN][MAXN],lx[MAXN],ly[MAXN],vx[MAXN],vy[MAXN],matchy_x[MAXN];
^
0_0_19395962_14251.cpp:117:28: error: redefinition of 'int lx [105]'
int map[MAXN][MAXN],lx[MAXN],ly[MAXN],vx[MAXN],vy[MAXN],matchy_x[MAXN],slack[MAXN];
^
0_0_19395962_14251.cpp:11:21: note: 'int lx [105]' previously declared here
int map[MAXN][MAXN],lx[MAXN],ly[MAXN],vx[MAXN],vy[MAXN],matchy_x[MAXN];
^
0_0_19395962_14251.cpp:117:37: error: redefinition of 'int ly [105]'
int map[MAXN][MAXN],lx[MAXN],ly[MAXN],vx[MAXN],vy[MAXN],matchy_x[MAXN],slack[MAXN];
^
0_0_19395962_14251.cpp:11:30: note: 'int ly [105]' previously declared here
int map[MAXN][MAXN],lx[MAXN],ly[MAXN],vx[MAXN],vy[MAXN],matchy_x[MAXN];
^
0_0_19395962_14251.cpp:117:46: error: redefinition of 'int vx [105]'
int map[MAXN][MAXN],lx[MAXN],ly[MAXN],vx[MAXN],vy[MAXN],matchy_x[MAXN],slack[MAXN];
^
0_0_19395962_14251.cpp:11:39: note: 'int vx [105]' previously declared here
int map[MAXN][MAXN],lx[MAXN],ly[MAXN],vx[MAXN],vy[MAXN],matchy_x[MAXN];
^
0_0_19395962_14251.cpp:117:55: error: redefinition of 'int vy [105]'
int map[MAXN][MAXN],lx[MAXN],ly[MAXN],vx[MAXN],vy[MAXN],matchy_x[MAXN],slack[MAXN];
^
0_0_19395962_14251.cpp:11:48: note: 'int vy [105]' previously declared here
int map[MAXN][MAXN],lx[MAXN],ly[MAXN],vx[MAXN],vy[MAXN],matchy_x[MAXN];
^
0_0_19395962_14251.cpp:117:70: error: redefinition of 'int matchy_x [105]'
int map[MAXN][MAXN],lx[MAXN],ly[MAXN],vx[MAXN],vy[MAXN],matchy_x[MAXN],slack[MAXN];
^
0_0_19395962_14251.cpp:11:57: note: 'int matchy_x [105]' previously declared here
int map[MAXN][MAXN],lx[MAXN],ly[MAXN],vx[MAXN],vy[MAXN],matchy_x[MAXN];
^
0_0_19395962_14251.cpp:118:18: error: redefinition of 'char s [105][105]'
char s[MAXN][MAXN];
^
0_0_19395962_14251.cpp:12:6: note: 'char s [105][105]' previously declared here
char s[MAXN][MAXN];
^
0_0_19395962_14251.cpp: In function 'int abs(int)':
0_0_19395962_14251.cpp:119:5: error: redefinition of 'int abs(int)'
int abs(int a){return a<0?-a:a;}
^
0_0_19395962_14251.cpp:13:5: note: 'int abs(int)' previously defined here
int abs(int a){return a<0?-a:a;}
^
0_0_19395962_14251.cpp: In function 'bool hungary(int)':
0_0_19395962_14251.cpp:122:6: error: redefinition of 'bool hungary(int)'
bool hungary(int u)
^
0_0_19395962_14251.cpp:15:6: note: 'bool hungary(int)' previously defined here
bool hungary(int u)
^
0_0_19395962_14251.cpp: In function 'void EK_match()':
0_0_19395962_14251.cpp:143:6: error: redefinition of 'void EK_match()'
void EK_match()
^
0_0_19395962_14251.cpp:32:6: note: 'void EK_match()' previously defined here
void EK_match()
^
0_0_19395962_14251.cpp: In function 'int main()':
0_0_19395962_14251.cpp:179:5: error: redefinition of 'int main()'
int main()
^
0_0_19395962_14251.cpp:67:5: note: 'int main()' previously defined here
int main()
^
|