Sum of positive in matrix
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Matrix of size is given. Find the sum of its positive elements.
Input
First line contains number . Next lines contains the matrix. All numbers in the matrix are no more than by absolute value.
Output
Print the sum of positive numbers in the matrix.
Examples
Input #1
Answer #1
Submissions 10K
Acceptance rate 61%