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