結果 : number of shortest paths algorithm