Files
python/TangDou/XiTi/1043.cpp

16 lines
229 B
C++
Raw Normal View History

2025-08-30 18:35:01 +08:00
#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;
}