1
#include <iostream>
2
using namespace std;
3
4
#define max 100
5
6
int matrix[max][max]; //关联矩阵
7
8
int x,y; //|V1|,|V2|
9
10
int check[max]; //确定下部图是否被访问
11
int link[max]; //下部图连接上部图的点
12
13
bool find(int up)
14
}
===================================================
2
3
4
5
6
7
8
9
10
11
12
13
14
1
#include <iostream>
2
#include <vector>
3
#include <string>
4
using namespace std;
5
6
2
3
4
5
6