EasyRating 800
Add Two Matrices
Read two r×c matrices and print their sum.
Input
r c, then the first matrix, then the second.
Output
r lines.
Sample 1
Input
2 2 1 2 3 4 5 6 7 8
Output
6 8 10 12
Sample 2
Input
1 3 1 1 1 2 2 2
Output
3 3 3
Output appears here