摘要:
坑点比较多的一个题目#include#include#include#includeusing namespace std;long long z[100],f[100];int T,N;int totz,totf,tot0;long long ans,x;int main(){ scanf... 阅读全文
摘要:
二分答案 + 2-SAT验证#include#include#include#include#include#includeusing namespace std;const int maxn=60000+10;int N,M;stackS;vectorG[maxn];vectorFG[maxn];... 阅读全文
摘要:
2-SAT,拆成六个点。#include#include#include#include#include#includeusing namespace std;const int maxn=60000+10;int T,N,M;stackS;vectorG[maxn];vectorFG[maxn];... 阅读全文
摘要:
阅读全文