Introduction - If you have any usage issues, please Google them yourself
Set up a static stack, the preparation of its basic operation, the type of design in the plan, construct a shortest path matrix and a shortest path length matrix, use FLOYD shortest path algorithm derived using the stack nature of the output the shortest path and the shortest path length