School Accuracy: 46.07% Submissions: 2437 Points: 0
Write a program to add two matrices.
The first line of input contains an integer T denoting the number of test cases. Then T test cases follow. Each test contains an integer N denoting the size of the square matrix. Then the two square matrix of size N*N is taken as input in next two lines.
For each test case in a new line print separated values of the matrix denoting addition of the two matrices.