Loading...
题目链接题目链接代码#include <iostream> #include <algorithm> #include <v...
#include <iostream> #include <algorithm> #include <vector> ...
ll C(ll n,ll m){ ll ans = 1; for(ll i =1;i<=m;i++){ ans = ...
kruskalint n, m; // n是点数,m是边数 int p[N]; // 并查集的父节点数组 struct Edge...
prime模板/* S:当前已经在联通块中的所有点的集合 1. dist[i] = inf 2. for n 次 t<-S外离S最近的点 ...