teamnote default

This commit is contained in:
2026-06-03 09:20:51 +09:00
commit f50ed902fe
65 changed files with 6033 additions and 0 deletions

5
source/Graph/2SAT.cpp Normal file
View File

@@ -0,0 +1,5 @@
ok = true; // 1<=i&&i<=n : $x$, n+1<=i&&i<=2*n : $!x$
forr(i, n) {
if (scn[i] == scn[i+n]) ok = false;
ans[i] = (scn[i] < scn[i+n]);
}