From 14a5aa119dd90c4764c47b00f141117b0193b73e Mon Sep 17 00:00:00 2001 From: Lucas Schwebler Date: Wed, 14 May 2025 14:29:31 +0200 Subject: lichao: fix ll int conversion --- content/datastructures/lichao.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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; -- cgit v1.2.3