摘要:
/* 100 7 1 101 1 2 1 2 2 2 3 2 3 3 1 1 3 2 3 1 1 5 5 */ #include<iostream> using namespace std; #define maxn 50005 struct node{ int parent; int relati 阅读全文
posted @ 2021-11-24 19:36
智人心
阅读(43)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstring> using namespace std; int n,d,x,y,num = 0; struct node{ int parent; int relation; }point[50005]; int find_par(int 阅读全文
posted @ 2021-11-24 18:56
智人心
阅读(51)
评论(0)
推荐(0)

浙公网安备 33010602011771号