摘要:
定义 综合:最大流等于最小割 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 10010, M = 200010, INF = 1e8; int n, m, 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; using point_t=long double; //全局数据类型,可修改为 long long 等 constexpr point_t eps=1e-8; constexpr long double P 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; #define endl '\n' #define LL long long #define x first #define y second // #define int long long const LL 阅读全文
摘要:
返回的值可能会存在负数(即使传入参数a和b中的数全是正整数),若有需要可以给mul返回的结果取正 constexpr int P = 998244353; int power(int a, int b) { int res = 1; for (; b; b /= 2, a = 1LL * a * a 阅读全文