正文
增加 9 行删除 0 行
253 行未改动全部展开2542552562572582592602613,635 行未改动全部展开253 行未改动全部展开kahn();return 0;}```## 普及/提高-### [P3378 【模板】堆](https://www.luogu.com.cn/problem/P3378)```cpp#include<bits/stdc++.h>3,635 行未改动全部展开253 行未改动全部展开2542552562572582592602612622632642652662672682692703,635 行未改动全部展开253 行未改动全部展开kahn();return 0;}```### popcount```cppint popcount64(uint64_t x) {x = x - ((x >> 1) & 0x5555555555555555ULL);x = (x & 0x3333333333333333ULL) + ((x >> 2) & 0x3333333333333333ULL);x = (x + (x >> 4)) & 0x0F0F0F0F0F0F0F0FULL;return (int)((x * 0x0101010101010101ULL) >> 56);}```## 普及/提高-### [P3378 【模板】堆](https://www.luogu.com.cn/problem/P3378)```cpp#include<bits/stdc++.h>3,635 行未改动全部展开