dynamic_bitset 模板代表一个位集合。它通过 operator[] 提供对单个位值的访问,并提供可以应用于内置整数的所有位运算符,例如 operator& 和 operator<<。集合中的位数可以在运行时更改。