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

Function iter

code/other/dpll.test.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 rep(i,0,m) {
26 bool found = false;
27 iter(it,cl[i]) {
28 int t = abs(*it) - 1;
29 if (((s & (1<<t)) != 0) == (*it > 0)) {
30 found = true;
31 break;
32 }
33 }
34 if (!found) {
35 ok = false;
36 break;

Callers 4

dfsMethod · 0.70
clauseMethod · 0.70
btMethod · 0.70
increaseMethod · 0.70

Calls 2

clauseMethod · 0.80
get_valueMethod · 0.80

Tested by

no test coverage detected