i have input file like image below and it contains adjacency matrix+ one number in first line. so here is the problem that i cant read file in order to set this information in 2 variable one of them stores line 1 and variable 2 stores adjacency matrix. so what I can do about this??
its necessary to mention that adjacency matrix is not in fixed size! Here is a picture of my question: thnx in advanced :)