library
library copied to clipboard
TwoSat
否定を~で表すといちいち sat.rev(u) とかをしなくてよいので便利ですね
u = max(2 * u, -1 - 2 * u)