Skip to content

Commit 5db387a

Browse files
committed
fixes
1 parent 63c2338 commit 5db387a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/data_structures/seg_tree_uncommon/implicit.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ template<int N> struct implicit_seg_tree {
88
if (l[0] == r[0]) return {l[0], l[1] + r[1]};
99
return min(l, r);
1010
}
11-
const dt unit{LLONG_MAX, 0LL};
11+
static constexpr dt unit{LLONG_MAX, 0LL};
1212
struct node {
1313
dt num;
1414
ll lazy = 0;

library/trees/shallowest_decomp_tree.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ void shallowest(auto& adj, auto f) {
2121
return dp;
2222
};
2323
dfs(dfs, 0, 0);
24-
for (const auto& vec : order | views::reverse)
24+
for (const vi& vec : order | views::reverse)
2525
for (int v : vec) {
2626
f(v);
2727
for (int u : adj[v])

0 commit comments

Comments
 (0)