Introduction - If you have any usage issues, please Google them yourself
The implementation of the Dijkstra algorithm only needs to change the adjacency matrix and can be used directly to return to L and Z as a result The Floyd algorithm also changes the adjacency matrix A, and the call function can be used