MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / var

Method var

code/other/dpll.cpp:7–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5 vii log; vvi w, loc;
6 SAT() : n(0) { }
7 int var() { return ++n; }
8 void clause(vi vars) {
9 set<int> seen; iter(it,vars) {
10 if (seen.find(IDX(*it)^1) != seen.end()) return;

Callers 1

testFunction · 0.80

Calls

no outgoing calls

Tested by 1

testFunction · 0.64