OJ-Problems-Source/.ACM-Templates/Graph/最小树形图/remark.tex
2016-08-13 23:35:41 +08:00

4 lines
221 B
TeX
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

最小树形图算法,使用邻接矩阵存图,返回-1表示无最小树形图。否则tmp[i].second表示i的入边
map[i][j] = 1 表示表示存在一条从i到j的有向边
dis[i][j] 表示从i到j边的长度