摘要:
1 #include <bits/stdc++.h> 2 #define _xx ios_base::sync_with_stdio(0);cin.tie(0); 3 using namespace std; 4 typedef long long ll; 5 ll dp[505][505] = { 阅读全文
摘要:
1 #include <bits/stdc++.h> 2 #define _xx ios_base::sync_with_stdio(0);cin.tie(0); 3 using namespace std; 4 typedef long long ll; 5 ll dp[505][505] = { 阅读全文
摘要:
1 #include<stdio.h> 2 int map[100005],aggregate[100005]; 3 int father(int x) 4 { 5 while(x!=aggregate[x]) 6 { 7 x=father(aggregate[x]); 8 } 9 return x 阅读全文
|