initial commit

This commit is contained in:
ShazidMahsrafi 2023-06-07 20:14:41 +06:00
parent 500bae4ec1
commit d5e54aa24d

19
231A-Team/231A.cpp Normal file
View File

@ -0,0 +1,19 @@
#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;
}