Sum of rows
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Two dimensional array of size is given. Find the sum of elements in its rows.
Input
First line contains the size of array . Each of the next lines contains integers.
Output
In the -th line print the sum of elements in the -th row of array.
Examples
Input #1
Answer #1
Submissions 6K
Acceptance rate 62%