Wrong test cases or Incomplete question


#1

It is said that the graph is directed. When graph is directed the adjacency matrix should be symmetric. But in this testcase “3 703 279 43 1 0 0 1 1 1 1 1 0”, the matrix is not symmetric.