Codeforces “231A-Team” solution( Bangla ) | Cpp language

**Before watching this make sure that you’ve tried enough**

#include<iostream>
using namespace std;
int main()
{
    int x,a,b,c,count=0;
    cin>>x;
    for(int i=0; i<x; i++)
    {
        cin>>a>>b>>c;
        if(a+b+c >=2)
        {
            count++;
        }
    }
    cout<<count<<endl;
}

 

If this solution helped you, please share this with your friends.

Leave a Comment