diff options
Diffstat (limited to 'content/datastructures')
| -rw-r--r-- | content/datastructures/lichao.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/datastructures/lichao.cpp b/content/datastructures/lichao.cpp index bdbf5f9..da965dd 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) { +int findX(ll i) { return ranges::lower_bound(xs, i) - begin(xs); } struct Fun { // Default: Linear function. Change as needed. |
