News

Then the test cases follow. First line of each test case or query contains a single integer value, 'N' representing the 'rows' and 'columns' for the two-dimensional square matrix. Second line onwards, ...