Start: Jun, 28, 2019 08:42:00
2019杭州师范大学第一届程序设计竞赛新生赛
End: Jun, 28, 2019 11:42:00
Time elapsed:
Time remaining:

Problem_ID: B
Result: Accepted
Time: 293ms
Memory: 1712kB
In contest: 1276

#include<cstdio>
#include<iostream>
#include<vector>
#include<queue>
#include<map>
#include<cstdlib>
#include<cstring>
#include<string>
#include<cmath>
#include<algorithm>
using namespace std;
//priority_queue<int>q;
char ch[100];
int main (void){
	int t;
	scanf("%d",&t);
	while(t--){
		scanf("%s",ch);
		int tot=0;
		for(int i=0;i<strlen(ch);i++){
			if(ch[i]=='a'||ch[i]=='e'||ch[i]=='o'||ch[i]=='i'||ch[i]=='u'){
				tot++;
			}
		}
		printf("%d\n",tot);
	}
	return 0;
}