2.1k2 分钟

#include<cstdio> #include<queue> #include<cstring> using namespace std; const int N=125100; int n,m,s,t,tot=1,hd[(int)6e4],cur[(int)6e4],ss,tt,dep[(int)6e4]; long long flow[(int)6e4],l[N]; struct Edge { int to,nxt; long long val; }e[N*3+99]; inline voi
2151 分钟

cf predictor引入的jquery墙了,控制台插入: var script = document.createElement('script'); script.src = "https://lib.baomitu.com/jquery/3.3.1/jquery.min.js"; document.getElementsByTagName('head')[0].appendChild(script);
2.3k2 分钟

#include <algorithm> #include <bitset> #include <map> #include <vector> #include <string> #include <cstring> #include <iostream> #include <cmath> #include <stack> #include <set> #include <queue> /* #include<ext/pb_ds/
3.8k3 分钟

二分答案 最近失智了 更:我是zz,写出了模拟怀疑复杂度没冲 模拟: #include <algorithm> #include <bitset> #include <map> #include <vector> #include <string> #include <cstring> #include <iostream> #include <cmath> #include <stack> #include <set> #include <queue> &
2.1k2 分钟

转化为最小可相交路径覆盖问题 #include <cstdio> #include <vector> #include <bitset> #include <functional> using namespace std; int n, m, ans, a[21][21], mp[21][21][21][21]; char c; bitset<404> vis; int main() { scanf("%d%d", &n, &m); vector<vector&l