1
0
Fork 0

Update include.hh

This commit is contained in:
Ariel 2024-02-18 14:46:04 +08:00 committed by GitHub
parent d4e5d2a21c
commit ff202584a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ constexpr ull PRIME = 998'244'353;
constexpr ll MDL1 = 825;
constexpr ll MDL2 = PRIME;
/* random */
mt19937 rd(chrono::duration_cast<chrono::milliseconds>(chrono::system_clock::now().time_since_epoch()).count());
/* bit-wise operations */
#define lowbit(x) ((x) & -(x))
#define popcount(x) (__builtin_popcountll(ll(x)))