2-SAT 模板题
题目链接:
https://www.luogu.com.cn/problem/P4782
讲解:
todo
#include <bits/stdc++.h>
using namespace std;
const int N = 2000010, M = 2000010;
int n, m;
int h[N], e[M], ne[M], idx;
int dfn[N], low[N], ts, stk[N], top;
int id[N], cnt;
bool ...
原创
2020-09-16 00:27:59 ·
134 阅读 ·
0 评论