First line of input contains T - number of test cases. Its followed by 2T lines, the first line contains N - the size of the array and second line contains the elements of the array. For each test ...
For a given two-dimensional square matrix of size (N x N). Find the total sum of elements on both the diagonals and at all the four boundaries. Input format: The first line contains an Integer 't' ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results