summaryrefslogtreecommitdiff
path: root/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test.h')
-rw-r--r--test.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/test.h b/test.h
deleted file mode 100644
index 0dfc40a..0000000
--- a/test.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#define _GLIBCXX_DEBUG 1
-#define _GLIBCXX_SANITIZE_VECTOR 1
-#include <bits/stdc++.h>
-using namespace std;
-using ll = long long;
-
-template<typename T>
-T _lg_check(T n) {
- assert(n > 0);
- return __lg(n);
-}
-
-#define __lg _lg_check
-
-namespace util {
-
-mt19937 rd(0);
-
-int randint(int l, int r) {
- assert(l <= r);
- return uniform_int_distribution<int>(l, r)(rd);
-}
-
-int randint(int x) {
- assert(x > 0);
- return randint(0, x-1);
-}
-
-int randint() {
- return randint(-1'000'000, +1'000'000);
-}
-
-}