网站首页
编程语言
数据库
系统相关
其他分享
编程问答
D42
2024-08-13
D42 2-SAT+二进制枚举 P3825 [NOI2017] 游戏
视频链接: P3825[NOI2017]游戏-洛谷|计算机科学教育新生态(luogu.com.cn)//2-SAT+二进制枚举O(2^8*(n+m))#include<iostream>#include<cstring>#include<algorithm>usingnamespacestd;constintN=100005;inthead[N],to[N<<1],ne[N<<1],idx;