Codeforces-SolutionsA/231A Team/231A.cpp
2023-06-07 22:31:31 +06:00

19 lines
288 B
C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
int n,i,sum,count=0;
int p[3];
cin>>n;
while(n--)
{
sum=0;
for(i=0;i<3;i++)
{
cin>>p[i];
sum+=p[i];
}
if(sum>=2) count++;
}
cout<<count;
}