Description: Experiment IV: adjacency matrix
1. Write a piece of code, the number of sentinel receive keyboard input, and an integer input side to build on as the adjacency matrix graph (undirected weighted figure).
For example: 5,6,12
Said fixed point 5 and 6 have the edge, the edge weight is 12.
2 Print out the adjacency matrix.
3. Calculated according to the degree of each node adjacency matrix obtained by the first step.
To Search:
File list (Check if you may need any files):
邻接矩阵.cpp