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.

Enter matrix production

Threads: Enter an integer matrix N x M size and matrix production out.
Input: The first line contains 2 n, m separated by spaces. The next n lines each containing m integers separated by spaces.
Output: Matrix of n lines each containing m integers separated by spaces.
For example:

input:
2 2
3 5
1 7
output:
3 5
1 7

You are not logged in? Log in to Submit Now!

5 Comments

Add a Comment