摘要:
There is a skyscraping tree standing on the playground of Nanjing University of Science and Technology. On each branch of the tree is an integer (The 阅读全文
posted @ 2019-05-25 21:26
StarHai
阅读(251)
评论(0)
推荐(0)
摘要:
给一个包含n个点,m条边的无向连通图。从顶点1出发,往其余所有点分别走一次并返回。 往某一个点走时,选择总长度最短的路径走。若有多条长度最短的路径,则选择经过的顶点序列字典序最小的那条路径(如路径A为1,32,11,路径B为1,3,2,11,路径B字典序较小。注意是序列的字典序的最小,而非路径中节点 阅读全文
posted @ 2019-05-25 19:25
StarHai
阅读(403)
评论(0)
推荐(0)

浙公网安备 33010602011771号