Update include.hh
This commit is contained in:
parent
d4e5d2a21c
commit
ff202584a0
|
@ -35,6 +35,10 @@ constexpr ull PRIME = 998'244'353;
|
||||||
constexpr ll MDL1 = 825;
|
constexpr ll MDL1 = 825;
|
||||||
constexpr ll MDL2 = PRIME;
|
constexpr ll MDL2 = PRIME;
|
||||||
|
|
||||||
|
/* random */
|
||||||
|
|
||||||
|
mt19937 rd(chrono::duration_cast<chrono::milliseconds>(chrono::system_clock::now().time_since_epoch()).count());
|
||||||
|
|
||||||
/* bit-wise operations */
|
/* bit-wise operations */
|
||||||
#define lowbit(x) ((x) & -(x))
|
#define lowbit(x) ((x) & -(x))
|
||||||
#define popcount(x) (__builtin_popcountll(ll(x)))
|
#define popcount(x) (__builtin_popcountll(ll(x)))
|
||||||
|
|
Loading…
Reference in New Issue