close

題目連結:   202101: Problem 6. 歲末年終慶 (itsa.org.tw)

題目大意:  所有點最短路徑裸題。查詢a到b最短路徑

思路:  這邊直接用 floyd warshall。O(N^3).

代碼:  

ITSA/Problem 6. 歲末年終慶.cpp at master · louisfghbvc/ITSA (github.com)

 

arrow
arrow

    尾玉 發表在 痞客邦 留言(0) 人氣()