// 1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int **matrix1; int **matrix2; int i,j,x,y,m,n; fstream f1; f1.open("C:\\1.txt"); f1>>m;//ребра f1>>n;//вершины matrix1=new int*[n]; for (i=0;i>matrix1[i][j]; matrix2=new int*[n]; for (i=0;i>i; return 0; }