1
0
Fork 0

Update include.hh

This commit is contained in:
Ariel 2024-01-15 14:55:45 +08:00 committed by GitHub
parent 17b99954ea
commit 80d2701c6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ using pli = pair<ll, int>;
using pll = pair<ll, ll>; using pll = pair<ll, ll>;
#define read(x, type) type x; cin >> x; #define read(x, type) type x; cin >> x;
#define readvec(a, n, type) vector<type> a; for (int i = 0; i < (n); ++i) cin >> a[i]; #define readvec(a, n, type) vector<type> a(n); for (int i = 0; i < (n); ++i) cin >> a[i];
#define lowbit(x) ((x) & -(x)) #define lowbit(x) ((x) & -(x))
#define popcount(x) (__builtin_popcountll(ll(x))) #define popcount(x) (__builtin_popcountll(ll(x)))
@ -40,3 +40,4 @@ struct igt {
else return i1(a) > i1(b); else return i1(a) > i1(b);
} }
}; };