WEBSITE RETURNED, HOWEVER SUBMIT QUANTITY IS RESTRICTED PER DAY TO VERY LITTLE (UNDER JUDGE0 NEW POLICY, API PROVIDER). Therefore it is very much for you to pay attention TEST CAREFULLY CODE BEFORE SUBMIT.

Category: Exercise

Check symmetric matrix

Square matrix is ​​a matrix of rows and columns of equal. Matrix NxN square matrix called Career N.Ma symmetrical ball is a square matrix with the transposed matrix of it, or AIJ = Aji Recommended Posts: Enter into a square matrix of degree n.

Matrix transposition

If A is a matrix of n x m in size with values ​​aij in row i, column j, the matrix transpose matrix B = AT m x n size with values: bij = aji Example: Threads: For matrix A n x m size. Find the matrix transpose of the matrix A. Input: The first line contains 2

Check array symmetry

Threads: For an array of n integers. Check if the array is mirrored. Plate symmetric arrays when writing in the forward or reverse are identical results. Input: The first line is an integer n. The second line 2 n is an integer array, the number of ways

Check array ascending

Threads: For an array of n integers. Check that the array ascending. Ascending array is larger array that follows the previous number. Input: The first line is an integer n. The second line 2 n is an integer array, of numbers separated by spaces. Output: If

Count the number of

Threads: For an array of n integers. Plate count in how many different numbers and each number appears many times in the array. The number in the array is between 0 come 1000. n <= 100. Input: The first line is an integer n. The second line 2 to be