From the list of edges to the adjacency matrix - 2 (#475) - Azerbaijan Computing Olympiad