2-SAT
Prgl
这个作者很懒,什么都没留下…
展开
-
POJ2723 题解
#include<bits/stdc++.h>using namespace std;#define INF 0x3f3f3f3fconst int maxv = 2e3 + 1;struct edge { int to, cost;};int V;vector<edge>G[maxv];int H[maxv][maxv];queue<int> que;bool used[maxv];int O[maxv];void add_edge(i.原创 2021-06-08 22:37:26 · 98 阅读 · 1 评论 -
POJ2749 题解
//POJ.2749//Author: Prgl#include<bits/stdc++.h>using namespace std;#define IOS ios::sync_with_stdio(0),cin.tie(0),cout.tie(0)typedef pair<int, int>P;typedef vector<int>vec;#define INF 0x3f3f3f3fconst double EPS = 1e-18;cons...原创 2021-06-09 23:06:41 · 342 阅读 · 3 评论