1
0
Fork 0

Update include.hh

This commit is contained in:
Ariel 2024-01-15 16:57:29 +08:00 committed by GitHub
parent 35ae52189b
commit 834e63f70a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,6 +58,6 @@ template<typename T, typename... U> void __read(T& x, U&... args) { cin >> x; __
#define popback(q, ...) auto [__VA_ARGS__] = q.back(); q.pop_back(); #define popback(q, ...) auto [__VA_ARGS__] = q.back(); q.pop_back();
#define popfront(q, ...) auto [__VA_ARGS__] = q.front();q.pop_front(); #define popfront(q, ...) auto [__VA_ARGS__] = q.front();q.pop_front();
#define adj(ch, n) vector<vector<int>> ch(n); #define adj(ch, n) vector<vector<int>> ch((n) + 1);
#define edge(ch, u, v) ch[u].push_back(v), ch[v].push_back(u); #define edge(ch, u, v) ch[u].push_back(v), ch[v].push_back(u);
#define Edge(ch, u, v) ch[u].push_back(v); #define Edge(ch, u, v) ch[u].push_back(v);