From 943d96c5f7cde38e5ec02b1cdb29bb7c8766574c Mon Sep 17 00:00:00 2001 From: f1or1an <110727007+f1or1an@users.noreply.github.com> Date: Tue, 3 Sep 2024 22:15:06 +0200 Subject: remove static constexpr --- content/graph/reroot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/graph/reroot.cpp b/content/graph/reroot.cpp index 379c839..3ed19d0 100644 --- a/content/graph/reroot.cpp +++ b/content/graph/reroot.cpp @@ -4,7 +4,7 @@ vector>> adj; struct Reroot { using T = ll; // dp type - static constexpr T E = 0; // neutral element + 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