Problem G: 【二维数组】方阵求和1
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:118
Solved:88
Description
Input
n m
n行m列整数
n行m列整数
Output
N+m行,每个元素就是行之和,列之和
Sample Input Copy
3 2
20 30
19 76
40 31
Sample Output Copy
50
95
71
79
137