nord vpnnord vpn
Ad

adsa

mail@pastecode.io avatar
unknown
c_cpp
a month ago
221 B
0
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
	int a;
	int count = 0;
	for (int i = 0; i < 5; i++)
	{
		for (int c = 0; c < 5; c++)
		{
			cin >> a;
			if (a > 0) count++;
		}
	}
	cout << count;
}

nord vpnnord vpn
Ad