Solution to the problem number 219 of AceptaelReto - 219.

Any questions do not hesitate to contact.

#include <bits/stdc++.h>
using namespace std;
int main()
{
    int casos;
    cin>>casos;
    while(casos--)
    {
        int numero,lo,total=0;
        cin>>numero;
        for(int i=0;i<numero;i++)
        {
            cin>>lo;
            if(lo%2==0)
                total++;
        }
        cout<<total<<"\n";
    }
    return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!