2012-07-22 80 views

回答

3
min((idx for idx in indexes if not visited[idx]), key=lambda idx: dist[idx]) 
+1

太好了,非常感谢。 – Kumar 2012-07-22 04:46:01