输入 n 个整数,统计其中非零数的个数。
第一行输入 n。 第二行输入 n 个整数。
输出一个整数。
5 1 -2 3 0 5
4
1≤n≤100,数组元素为 int 范围内整数。
使用您的 www.mathcoding.online 通用账户