0_0_34534890_24937.cpp:3:7: error: 'max' was not declared in this scope
int e[max][max];
^
0_0_34534890_24937.cpp:3:12: error: 'max' was not declared in this scope
int e[max][max];
^
0_0_34534890_24937.cpp:4:10: error: 'max' was not declared in this scope
int book[max],match[max],n,m;
^
0_0_34534890_24937.cpp:4:21: error: 'max' was not declared in this scope
int book[max],match[max],n,m;
^
0_0_34534890_24937.cpp: In function 'int dfs(int)':
0_0_34534890_24937.cpp:10:7: error: 'e' was not declared in this scope
if (e[x][i]==1&&book[i]==0)
^
0_0_34534890_24937.cpp:10:19: error: 'book' was not declared in this scope
if (e[x][i]==1&&book[i]==0)
^
0_0_34534890_24937.cpp:13:8: error: 'match' was not declared in this scope
if (match[i]==0||dfs(match[i]))
^
0_0_34534890_24937.cpp: In function 'int main()':
0_0_34534890_24937.cpp:27:10: error: 'e' was not declared in this scope
memset(e,0,sizeof(e));
^
0_0_34534890_24937.cpp:28:10: error: 'book' was not declared in this scope
memset(book,0,sizeof(book));
^
0_0_34534890_24937.cpp:29:10: error: 'match' was not declared in this scope
memset(match,0,sizeof(match));
^
0_0_34534890_24937.cpp:32:4: error: 'cin' was not declared in this scope
cin >> t1>> t2;
^
|