summaryrefslogtreecommitdiff
path: root/test/datastructures/lichao.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/datastructures/lichao.cpp')
-rw-r--r--test/datastructures/lichao.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/datastructures/lichao.cpp b/test/datastructures/lichao.cpp
index f4b797b..1639b3d 100644
--- a/test/datastructures/lichao.cpp
+++ b/test/datastructures/lichao.cpp
@@ -7,7 +7,7 @@ void stress_test(ll range) {
for (int tries = 0; tries < 1000; tries++) {
int n = Random::integer<int>(1, 100);
xs = Random::distinct<ll>(n, -range, range);
- sort(all(xs));
+ ranges::sort(xs);
vector<ll> naive(n, INF);
Lichao tree;
@@ -42,7 +42,7 @@ constexpr int N = 200'000;
void performance_test() {
timer t;
xs = Random::distinct<ll>(N, -1'000'000'000, 1'000'000'000);
- sort(all(xs));
+ ranges::sort(xs);
t.start();
Lichao tree;