#include <iostream>
#include <iomanip>
using namespace std;
int main() {
int n, c = 0;
cin >> n;
while (n != 0) {
int x = n % 10;
if (x == 0 || x == 2 || x == 4 || x == 6 || x == 8) {
c++;
}
n /= 10;
}
cout << c;
}
全部回复 共 0 条
还没有人回复。往下写第一条。
发表回复
登录后即可回复本帖,与出题人和同学一起讨论。
登录