常用代码

debug

#define debug(x) cerr << #x << " = " << x << ' '
#define debugl(x) cerr << #x << " = " << x << '
'

状压dp

int test(int x, int y) { return x >> y & 1; }
void printb(int x) { cout << bitset<4>(x); }
原文地址:https://www.cnblogs.com/ucprer/p/13969807.html