Category

Similar Problems

0133. Matritsa4

Time limit : 1000 ms
Memory limit : 64 mb

nn o`lchamlik ikkita matritsa berilgan. Matritsalarni bir-biriga ketma-ket ulab n2n o`lchamlik matritsa xosil qilinsin.


Kiruvchi ma`lumotlar: Birinchi satrda n (1n50). Keyingi n ta satrda n ta butun son, Matritsa elementlari (100a[i][j]100). Keyingi n ta satrda n ta butun son matritsa elementlari (100b[i][j]100)


Chiquvchi ma`lumotlar: Xosil bo`lgan matritsa

Input
1
-44
-14
Output
-44 -14
Input
3
-77 90 -24
40 -86 47
-79 36 -69
-85 88 -74
-40 63 -6
-70 10 -51
Output
-77 90 -24 -85 88 -74
40 -86 47 -40 63 -6
-79 36 -69 -70 10 -51