bitset可以更快的求大量位的表示和运算
两个bitset<n> 之间可以直接做与或非异或操作
同时也可以使用set、count等位操作
操作方法:
1、https://blog.csdn.net/JAN6055/article/details/123543847
2、https://fanfansann.blog.csdn.net/article/details/105563993?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-105563993-blog-123543847.pc_relevant_multi_platform_whitelistv3&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-105563993-blog-123543847.pc_relevant_multi_platform_whitelistv3&utm_relevant_index=1
例题:
https://www.acwing.com/problem/content/description/166/
标签:relevant,C++,blog,pc,123543847,bitset,https From: https://www.cnblogs.com/ydUESTC/p/16727432.html