頂点属性 LCA verify: https://onlinejudge.u-aizu.ac.jp/solutions/problem/3372/revector<int>ew/10572853/Today03/C++17 [詳解]
#include "lca_vertex.hpp"
公開型 | |
using | Type = typename Monoid::Type |
公開メンバ関数 | |
LcaVertex (const vector< vector< int > > &g, const vector< Type > &v, int root=0) | |
コンストラクタ | |
Type | fold (int u, int v) |
パス u-v のモノイド積を返す | |
頂点属性 LCA verify: https://onlinejudge.u-aizu.ac.jp/solutions/problem/3372/revector<int>ew/10572853/Today03/C++17
lca_vertex.hpp の 6 行目に定義があります。
using LcaVertex< Monoid >::Type = typename Monoid::Type |
lca_vertex.hpp の 7 行目に定義があります。
|
inline |
パス u-v のモノイド積を返す
lca_vertex.hpp の 24 行目に定義があります。