F - 最小全域木問題
#TYPICAL-ALGORITHM
#AtCoder解答メモ
#TYPICAL
問題
https://atcoder.jp/contests/typical-algorithm/tasks/typical_algorithm_f
考察
最小全域木
の
典型問題
シミュレーション
処理の流れ
実装
https://atcoder.jp/contests/typical-algorithm/submissions/20927911
NetworkX
の
nx.minimum_spanning_edges
で
プリム法
を使うバージョン
実装上の注意
所感
参考