summaryrefslogtreecommitdiff
path: root/test.h
diff options
context:
space:
mode:
authorGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 21:43:46 +0100
committerGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 21:43:46 +0100
commit3fe8ee352845741d97a76e2ed6a390cb1481d755 (patch)
tree92f43538f1094130676a2be5ffa4879586db3cb7 /test.h
parent1880ccb6d85c6eb79e724593457877bab431951c (diff)
minor changes
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);
-}
-
-}