summaryrefslogtreecommitdiff
path: root/test/datastructures/lichao.cpp
diff options
context:
space:
mode:
authormzuenni <michi.zuendorf@gmail.com>2024-08-06 16:54:13 +0200
committermzuenni <michi.zuendorf@gmail.com>2024-08-06 16:54:13 +0200
commit19436370fb48bc0a5e356d1ba713dc39b1a35d3a (patch)
tree42124647e993b50bc2b8af36090a0b0245a63992 /test/datastructures/lichao.cpp
parentd88debc398f18d4e3d1c53d221dffe3981f35e41 (diff)
upper case INF
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 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++) {