#include<stdio.h>
#include<string.h>
#include <iostream>
#include <queue>
using namespace std;
#define MAXN 205
#define MAXE 300005
#define INF 10000000
int heada[MAXN], headb[MAXN];
int dp[MAXN];
int cnta, cntb;
struct Edge{
int node;
int next;
};
struct Edge edgea[MAXE], edgeb[MAXE];
int rem[MAXE], cnt;
queue<int> que;
void adda(int a, int b)
{
edgea[cnta].node = b; edgea[cnta].next = heada[a]; heada[a] = cnta ++;
}
void addb(int a, int b)
{
......
阅读全文