#include #include using namespace std; #define Max 100001 int father[Max]; void Init() { int i; for(i=0;i