summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorf1or1an <110727007+f1or1an@users.noreply.github.com>2024-09-03 22:15:06 +0200
committerGitHub <noreply@github.com>2024-09-03 22:15:06 +0200
commit943d96c5f7cde38e5ec02b1cdb29bb7c8766574c (patch)
tree29762d6089087d9b3127d33bde153adc2ff8157c
parent24db7e1f387b458e8a48c3b773860e32f897017c (diff)
remove static constexpr
-rw-r--r--content/graph/reroot.cpp2
1 files changed, 1 insertions, 1 deletions
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<vector<pair<int, W>>> 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