一些特殊且有用的函数

1.__builtin_popcount(n)
可以快速的判断n的二进制状态下有几个1
例题  洛谷P1582
此博客会持续更新
posted @ 2019-09-18 20:38  Linkss  阅读(233)  评论(0编辑  收藏  举报