initial commit
This commit is contained in:
parent
500bae4ec1
commit
d5e54aa24d
19
231A-Team/231A.cpp
Normal file
19
231A-Team/231A.cpp
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user