All pastes #9554 Raw Edit

JAZDA

public text v1 · immutable
#9554 ·published 2005-04-14 17:33 UTC
rendered paste body
int T[m*n];


//int *TAB, char *name

	int cases;

	cin >> cases;

	for( unsigned int XXX = 0; XXX < cases; ++XXX )
	{

		cin >> name			//name
		
		cin >> m >> n;		//m - rows
							//n - cols

		TAB = new int[m * n];
	
		for( unsigned int i = 0; i < m; ++i )
		{
			for( unsigned int j = 0; j < n; ++j )
			{
				cin >> T[n * i + j];
			}
		}

		ROBERT_MASTAH_FOO( T, m, n, name );

	}