摘要: 2-SAT入门题。类似和平委员会。模板敲错了,1W更改过来后,2YView Code #include <iostream>#include <stdio.h>#include <string.h>using namespace std;#define E 1000500#define V 2005int top,cnt,index,n,m,ecnt;bool instack[V];int stack[V],id[V],dfn[V],low[V],in[V];int head[V];struct edge{ int s,t,next;}e[E];void a 阅读全文