Skip to content

Commit dbea8b4

Browse files
committed
modify type of min_value
1 parent 61bcaac commit dbea8b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/convex.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ std::pair<std::vector<std::invoke_result_t<F, int, int>>, std::vector<int>> mono
2020
using T = std::invoke_result_t<F, int, int>;
2121
assert(h >= 0);
2222
assert(w >= 0);
23-
std::vector<int> res_value(h);
23+
std::vector<T> res_value(h);
2424
std::vector<int> res_idx(h);
2525
std::stack<std::tuple<int, int, int, int>> stk; // {i, j, l, r} : [i..j]行目の答えを求める。結果は[l..r]の範囲に収まることが保証されている。
2626
stk.emplace(0, h-1, 0, w-1);

0 commit comments

Comments
 (0)