摘要:
线性求逆元 #include<bits/stdc++.h> #define ll long long using namespace std; ll n, p, inv[3000005]; int main(){ cin >> n >> p; inv[0] = inv[1] = 1; cout << 阅读全文
摘要:
#include<bits/stdc++.h> #define ri register int #define ll long long #define fast ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using namespace std 阅读全文
摘要:
#include<bits/stdc++.h> #define ri register int #define ll long long #define fast ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using namespace std 阅读全文
摘要:
Kruskal #include<bits/stdc++.h> #define ri register int #define ll long long #define fast ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using names 阅读全文
摘要:
#include<bits/stdc++.h> #define ri register int #define ll long long #define fast ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using namespace std 阅读全文
摘要:
#include<bits/stdc++.h> #define ri register int #define ll long long #define fast ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using namespace std 阅读全文