0_0_17516426_1871.cpp:93:11: error: 'maxn' was not declared in this scope
bool book[maxn];
^
0_0_17516426_1871.cpp:94:10: error: 'maxn' was not declared in this scope
bool all[maxn];
^
0_0_17516426_1871.cpp: In function 'bool DFS(int, int)':
0_0_17516426_1871.cpp:96:5: error: 'book' was not declared in this scope
book[u] = 1;
^
0_0_17516426_1871.cpp:97:5: error: 'all' was not declared in this scope
all[u] = 1;
^
0_0_17516426_1871.cpp: At global scope:
0_0_17516426_1871.cpp:107:10: error: 'maxn' was not declared in this scope
int path[maxn][maxn];
^
0_0_17516426_1871.cpp:107:16: error: 'maxn' was not declared in this scope
int path[maxn][maxn];
^
0_0_17516426_1871.cpp: In function 'void ini()':
0_0_17516426_1871.cpp:111:9: error: 'book' was not declared in this scope
CLR(book, 0);
^
0_0_17516426_1871.cpp:33:26: note: in definition of macro 'CLR'
#define CLR(a, b) memset(a, b, sizeof(a))
^
0_0_17516426_1871.cpp: In function 'int main()':
0_0_17516426_1871.cpp:138:17: error: 'all' was not declared in this scope
CLR(all, 0);
^
0_0_17516426_1871.cpp:33:26: note: in definition of macro 'CLR'
#define CLR(a, b) memset(a, b, sizeof(a))
^
0_0_17516426_1871.cpp:153:29: error: 'path' was not declared in this scope
path[x][v - n] = K - es[i].w;
^
0_0_17516426_1871.cpp:157:66: error: 'path' was not declared in this scope
REP(x, 1, n + 1) REP(y, 1, m + 1) printf("%d%c", path[x][y], y == m ? '\n' : ' ');
^
|