版本比较
题解:CF267C Berland Traffic
正文
增加 1 行删除 1 行
10 行未改动11121314151617181954 行未改动10 行未改动#include<bits/extc++.h>using namespace std;using namespace __gnu_pbds;typedef long double ld;const int N=110,M=5010;const ld eps=1e-12;int tn,n,to[N],m,f[N],siz[N],x[M],y[M],w[M];int find(int x){return(x==f[x])?x:(f[x]=find(f[x]));}inline void merge(int x,int y){54 行未改动10 行未改动11121314151617181954 行未改动10 行未改动#include<bits/extc++.h>using namespace std;using namespace __gnu_pbds;typedef long double ld;const int N=110,M=5010;const ld eps=1e-12;int tn,n,to[N],m,f[N],siz[N],x[M],y[M],w[M];int find(int x){return(x==f[x])?x:(f[x]=find(f[x]));}inline void merge(int x,int y){54 行未改动