摘要:
题意:思路:#include#include#include#include#include#include#include#include#includeusing namespace std;const int MAXN=2000+5;const int MAX=50+5;const int I... 阅读全文
摘要:
题意:思路:#include#include#include#include#include#include#include#include#include#includeusing namespace std;map a;const int INF=1000000000;int main(){ ... 阅读全文
摘要:
题意:思路:#include#include#include#includeusing namespace std;double dp[3][300];int main(){ int n,m; int l,r; int i,j,k; double ans; int te... 阅读全文
摘要:
题意:思路:#include#include#include#include#include#include#include#include#includeusing namespace std;const int MAXN=10+5;int n,m,Q,ans;int mat[MAXN][MAXN... 阅读全文
摘要:
题意:思路:#include#include#include#include#include#include#includeusing namespace std;const int MAXN=100000+5;int p[MAXN],u[MAXN],v[MAXN],vis[MAXN],w[MAXN... 阅读全文
摘要:
题意:思路:#include #include #include #include using namespace std;int fa[150];int fin(int x){ return fa[x]==x?x:fin(fa[x]);}void unionn(int x,int y){ ... 阅读全文