#include<iostream>
#include<algorithm>
#include<iomanip>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<string>
#include<cmath>
#include<set>
#include<queue>
#include<stack>
#include<map>
#define PI acos(-1.0)
#define in freopen("in.txt", "r", stdin)
#define out freopen("out.txt", "w", stdout)
#define kuaidian ios::sync_with_stdio(0);
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const int maxn = 1500 + 7, maxd = 1e5 + 7;
const ll mod = 1e9 + 7;
const int INF = 0x7f7f7f7f;
string s;
int main() {
kuaidian;
cin >> s;
int ans = 0;
for(int i = 0; i < s.length(); ++i) {
if(s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' || s[i] == 'u' )
ans++;
if(s[i] >= '0' && s[i] <= '9') {
int t = s[i] - '0';
if(t % 2 != 0) ans++;
}
}
cout << ans ;
return 0;
}
Good Bye 2017 A - New Year and Counting Cards
最新推荐文章于 2018-02-22 21:45:04 发布