0_0_19230913_7665.cpp: In function 'int init()':
0_0_19230913_7665.cpp:41:49: error: 'state' was not declared in this scope
int i,j; for(i = 0; i < MAXSIZE; ++i) state[i].reset(); return 0;}bool dfs(
^
0_0_19230913_7665.cpp: In function 'bool dfs(const int&, const int&, const int&, std::bitset<37ull>)':
0_0_19230913_7665.cpp:44:272: error: 'state' was not declared in this scope
const int& sel, bitset<MAXSIZE> mask){ if(mask.count() < match) return false; else if(sel == match) return true; else if(sel + 36 - cur < match) return false; return dfs(match,cur+1,sel,mask) || dfs(match,cur+1,sel+1,mask&state[cur]);}
^
0_0_19230913_7665.cpp: In function 'int input()':
0_0_19230913_7665.cpp:47:88: error: 'state' was not declared in this scope
int i,a,b; IN(n); for(i = 0; i < n; ++i) { scanf("%d%d",&a,&b); state[a-1].set(b-1); } return 0;}
^
|