摘要: 1 #include<stdio.h> 2 #include<string.h> 3 const int E = 2020; 4 const int N = 55; 5 struct edge { 6 int t, next; 7 }e[E]; 8 int head[E], tot, root[N], map[N], degree[N], n, left[E], right[E], top; 9 bool v[E];10 void init() {11 top = tot = 0;12 memset(degree, 0, sizeof(degre... 阅读全文