Category

Similar Problems

0136. Matritsa7

Time limit : 1000 ms
Memory limit : 64 mb

Sizga o'lchami $n*m$ lik bo'lgan matritsa berilgan. Bu matritsani $k$ - ustun elementlari olib tashlansin.


Kiruvchi ma`lumotlar: Birinchi satrda $n$ va $m$ ($1\le n,m \le 50$). Keyingi $n$ ta satrda $m$ ta butun son matritsa elementlari ($-100\le a[i][j] \le 100$). Keyingi satrda $k$ berilgan.($1\le k \le 50$)


Chiquvchi ma`lumotlar: Xosil bo`lgan matritsa.

Input
4 3
27 44 -81
83 -65 44
9 49 -98
53 -17 87
1
Output
44 -81
-65 44
49 -98
-17 87
Input
3 5
57 63 -90 13 41
88 -74 11 -40 69
22 84 -66 58 29
5
Output
57 63 -90 13
88 -74 11 -40
22 84 -66 58