Rosetta Problems
← 問題一覧に戻る
全域木の数え上げ
無向グラフが与えられ、全域木の個数を求める。
関連リンク
yosupo/counting_spanning_tree_undirected