From 568329cab9a64d8059fe58142d35c43dfc08355e Mon Sep 17 00:00:00 2001 From: f1or1an <110727007+f1or1an@users.noreply.github.com> Date: Fri, 6 Sep 2024 00:20:38 +0200 Subject: Update content/graph/reroot.cpp --- content/graph/reroot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/graph') diff --git a/content/graph/reroot.cpp b/content/graph/reroot.cpp index 3ed19d0..379c839 100644 --- a/content/graph/reroot.cpp +++ b/content/graph/reroot.cpp @@ -4,7 +4,7 @@ vector>> adj; struct Reroot { using T = ll; // dp type - T E = 0; // neutral element + static constexpr T E = 0; // neutral element T takeChild(int v, int c, W w, T x) {} // move child along edge static T comb(T x, T y) {} T fin(int v, T x) {} // add v to own dp value x -- cgit v1.2.3