summaryrefslogtreecommitdiff
path: root/test/datastructures
diff options
context:
space:
mode:
Diffstat (limited to 'test/datastructures')
-rw-r--r--test/datastructures/dynamicConvexHull.lichao.cpp1
-rw-r--r--test/datastructures/lazyPropagation.cpp2
-rw-r--r--test/datastructures/lichao.cpp4
3 files changed, 3 insertions, 4 deletions
diff --git a/test/datastructures/dynamicConvexHull.lichao.cpp b/test/datastructures/dynamicConvexHull.lichao.cpp
index 6ab55f0..d50ca60 100644
--- a/test/datastructures/dynamicConvexHull.lichao.cpp
+++ b/test/datastructures/dynamicConvexHull.lichao.cpp
@@ -1,6 +1,5 @@
#include "../util.h"
constexpr ll INF = LL::INF;
-constexpr ll inf = LL::INF;
#include <datastructures/dynamicConvexHull.cpp>
#include <datastructures/lichao.cpp>
diff --git a/test/datastructures/lazyPropagation.cpp b/test/datastructures/lazyPropagation.cpp
index 7002061..feb07f0 100644
--- a/test/datastructures/lazyPropagation.cpp
+++ b/test/datastructures/lazyPropagation.cpp
@@ -1,5 +1,5 @@
#include "../util.h"
-constexpr ll inf = LL::INF;
+constexpr ll INF = LL::INF;
#include <datastructures/lazyPropagation.cpp>
constexpr int N = 1000'000;
diff --git a/test/datastructures/lichao.cpp b/test/datastructures/lichao.cpp
index c8a56a3..f4b797b 100644
--- a/test/datastructures/lichao.cpp
+++ b/test/datastructures/lichao.cpp
@@ -1,5 +1,5 @@
#include "../util.h"
-constexpr ll inf = LL::INF;
+constexpr ll INF = LL::INF;
#include <datastructures/lichao.cpp>
void stress_test(ll range) {
@@ -9,7 +9,7 @@ void stress_test(ll range) {
xs = Random::distinct<ll>(n, -range, range);
sort(all(xs));
- vector<ll> naive(n, inf);
+ vector<ll> naive(n, INF);
Lichao tree;
for (int operations = 0; operations < 1000; operations++) {