summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Schwebler <lucas.schwebler@gmail.com>2025-05-14 14:29:31 +0200
committerLucas Schwebler <lucas.schwebler@gmail.com>2025-05-14 14:29:31 +0200
commit14a5aa119dd90c4764c47b00f141117b0193b73e (patch)
treed5fcfff8c276f894323d17899dd53d42b4ae3fc9
parent2b38e35c518fa52eef8024e805fdb78df9d7f92f (diff)
lichao: fix ll int conversion
-rw-r--r--content/datastructures/lichao.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/datastructures/lichao.cpp b/content/datastructures/lichao.cpp
index 1318ca7..9c41934 100644
--- a/content/datastructures/lichao.cpp
+++ b/content/datastructures/lichao.cpp
@@ -1,5 +1,5 @@
vector<ll> xs; // IMPORTANT: Initialize before constructing!
-int findX(int i) {return lower_bound(all(xs), i) - begin(xs);}
+int findX(ll i) {return lower_bound(all(xs), i) - begin(xs);}
struct Fun { // Default: Linear function. Change as needed.
ll m, c;