0_0_21725038_9965.cpp:6:18: error: expected primary-expression before ';' token
const int MAXN = ;
^
0_0_21725038_9965.cpp:8:17: error: size of array 'w' is not an integral constant-expression
int w[MAXN][MAXN];
^
0_0_21725038_9965.cpp:8:17: error: size of array 'w' is not an integral constant-expression
0_0_21725038_9965.cpp:9:15: error: size of array 'match' is not an integral constant-expression
int match[MAXN];
^
0_0_21725038_9965.cpp:10:12: error: size of array 'lx' is not an integral constant-expression
int lx[MAXN],ly[MAXN];
^
0_0_21725038_9965.cpp:10:21: error: size of array 'ly' is not an integral constant-expression
int lx[MAXN],ly[MAXN];
^
0_0_21725038_9965.cpp:11:15: error: size of array 'visx' is not an integral constant-expression
bool visx[MAXN],visy[MAXN];
^
0_0_21725038_9965.cpp:11:26: error: size of array 'visy' is not an integral constant-expression
bool visx[MAXN],visy[MAXN];
^
0_0_21725038_9965.cpp:12:15: error: size of array 'slack' is not an integral constant-expression
int slack[MAXN];
^
0_0_21725038_9965.cpp: In function 'bool dfs(int)':
0_0_21725038_9965.cpp:15:17: error: 'n' was not declared in this scope
for(int v=1;v<=n;v++){
^
0_0_21725038_9965.cpp: In function 'int KM()':
0_0_21725038_9965.cpp:34:17: error: 'n' was not declared in this scope
for(int i=1;i<=n;i++){
^
0_0_21725038_9965.cpp:39:17: error: 'n' was not declared in this scope
for(int i=1;i<=n;i++){
^
0_0_21725038_9965.cpp:57:17: error: 'n' was not declared in this scope
for(int i=1;i<=n;i++)res+=w[match[i]][i];
^
|