3038: 二维数组入门-统计 2 行 2 列二维数组中正数的个数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:2 Solved:2

Description

定义 2 行 2 列二维数组,输入 4 个整数元素,统计并输出数组中正数的个数(正数:>0 的数,0 和负数不计)。

Input

连续 4 个整数,用空格 / 回车分隔;

Output

直接输出一个整数(正数个数)。

Sample Input Copy

1 -2 
3 0

Sample Output Copy

2