https://codingnote.cc/p/146244/
最短路 || 最长路 || 次短路