摘要: #include#include#include#includeusing namespace std;int t;int q[99999];int h[99999];int f[99999];int find(int x){ if(f[x]==x)return x; ... 阅读全文