二进制操作

1.二进制枚举子集
for
(i=s;i;i=(i-1)&s)//枚举s子集

原文地址:https://www.cnblogs.com/adelalove/p/9885670.html