[Practice] Matrix Multiplication - Variable


Submit solution

Points: 10
Time limit: 0.5s
Memory limit: 2M

Author:
Problem type

Problem Definition

Write a Program to perform Matrix Multiplication.

Method
  • Define two matrices A and B and receive the number of rows and columns as input from the user.
  • Perform the Matrix Multiplication

Sample Input

3

3

1 0 -1
0 -1 1
-1 0 1

1 2 3
2 3 1
3 1 2

Sample Output

-2 1 1
1 -2 1
2 -1 -1


Comments

There are no comments at the moment.