Replies: 9 comments
-
Party那道题会MLE吧,4000400太大了,开1000010就可以了 |
Beta Was this translation helpful? Give feedback.
-
请问这个爆搜的复杂度是不是可以卡到 o(n^2)? |
Beta Was this translation helpful? Give feedback.
-
输出方案那里是不是有问题呀
|
Beta Was this translation helpful? Give feedback.
-
定义感觉用正常的逻辑表达式更好一些? |
Beta Was this translation helpful? Give feedback.
-
应该可以卡到 O(nm) |
Beta Was this translation helpful? Give feedback.
-
暴搜打错了/// |
Beta Was this translation helpful? Give feedback.
-
另外还有个Horn-sat问题,就是每个子句最多只含一个肯定变元。具体做法是给每个单一肯定变元的子句赋好值,并在其他子句中去除该变元;当没有单一肯定变元时,给其他变元都赋值0即可 |
Beta Was this translation helpful? Give feedback.
-
缩点建图那里是不是应该 (a1,b2) 和 (a2,b1) 存在两个矛盾?不然不应该同时建三条边吗 |
Beta Was this translation helpful? Give feedback.
-
https://oi-wiki.org/graph/2-sat/
Beta Was this translation helpful? Give feedback.
All reactions