Loading

摘要: EK(转) dinic(转) EK(未完) 以此份代码为例 //P3376 【模板】网络最大流 //EK算法 #include <bits/stdc++.h> #define int long long using namespace std; const int N=410,M=10010; in 阅读全文
posted @ 2024-06-16 17:41 班级账号 阅读(47) 评论(0) 推荐(0)
摘要: (暂不知晓做法) 有 \(k\) 个机器人,可以向下或向右走,第i个机器人要从(xi,yi)走到(ai,bi),格子(x,y)有一个权值,在第一个机器人走到时取走,只能取一次,问取走数的最大总和。 阅读全文
posted @ 2024-06-16 15:02 班级账号 阅读(24) 评论(0) 推荐(0)
摘要: 我们用以下代码为例分析复杂度 #include<bits/stdc++.h> #include<climits> #define fir first #define se second using namespace std; typedef long long ll; typedef pair<l 阅读全文
posted @ 2024-06-16 11:11 班级账号 阅读(42) 评论(0) 推荐(0)