Files
python/TangDou/XiTi/1043.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

16 lines
229 B
C++

#include <bits/stdc++.h>
using namespace std;
int main()
{
int count = 0, n;
while (cin >> n && n != 0)
{
if (n % 2 == 0)
count++;
}
cout << count << endl;
return 0;
}