diff options
| author | Gloria Mundi <gloria@gloria-mundi.eu> | 2024-03-10 20:43:13 +0100 |
|---|---|---|
| committer | Gloria Mundi <gloria@gloria-mundi.eu> | 2024-03-10 20:43:13 +0100 |
| commit | 0cebc901e79c21168601071e29ed8e4f4b6f9505 (patch) | |
| tree | d917fc4bb1ecedb1794f09ded08c478b0be301dd /graph/test/util.cpp | |
| parent | 0f29ac59c2bf0e5eafc2a6fa436e3070085e3a1d (diff) | |
add tests for Fenwick Tree
Diffstat (limited to 'graph/test/util.cpp')
| -rw-r--r-- | graph/test/util.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/graph/test/util.cpp b/graph/test/util.cpp index 8bec1ee..8c14b5c 100644 --- a/graph/test/util.cpp +++ b/graph/test/util.cpp @@ -1,13 +1,6 @@ namespace util { -mt19937 rd(0); - -int randint(int x) { - assert(x > 0); - return uniform_int_distribution<int>(0, x-1)(rd); -} - void shuffle_adj_lists(vector<vector<int>> &adj) { for (auto &a: adj) ranges::shuffle(a, rd); } |
