Category

Similar Problems

0146. Matritsa17

Time limit : 1000 ms
Memory limit : 64 mb

Matritsaning ustun elementlari yig`indisidan xosil bo`lgan vector matritsaga yangi ustun qilib qo`shilsin.


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


Chiquvchi ma`lumotlar: Xosil bo`lgan matritsa

Input
3 2
56 -80
42 17
20 -45
Output
56 -80
42 17
20 -45
118 -108
Input
6 2
27 -75
98 86
23 -84
98 62
65 -98
79 75
Output
27 -75
98 86
23 -84
98 62
65 -98
79 75
390 -34