summaryrefslogtreecommitdiff
path: root/content/graph
diff options
context:
space:
mode:
Diffstat (limited to 'content/graph')
-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