Description: warshall law order: a new matrix set to begin operation set i = 1 for all j if A [j, i] = 1, then for k = 1,2,3 ... ... n operation ah A [j, k]: = A [j, k]+ A [i, k] i++ if i < = n turn on the continuing need: 1. Enter the Matrix, with two-dimensional array, we can consider global variables 2. set matrix maximum nMax 3. for i from 0 to n-1 loop, as 1 per item to find, as a continuing operation, otherwise enhance: 1. input choice and can choose whether to continue operations 2. not confirm each line to increase modified option 3. use an array of strings, the result can be directly output
To Search:
File list (Check if you may need any files):
wanshell.cpp