pub fn count_undirected_spanning_tree<P: PrimeMod>(
g: &Graph<Undirected, impl EdgeTrait>,
) -> ConstModInt<P>Expand description
無向グラフにおいて、無向全域木の個数を数える。
pub fn count_undirected_spanning_tree<P: PrimeMod>(
g: &Graph<Undirected, impl EdgeTrait>,
) -> ConstModInt<P>無向グラフにおいて、無向全域木の個数を数える。