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: 296ms
Memory: 1712kB
In contest: 1276

#include<iostream>
#include<cmath>
#include<set>
#include<map>
#include<algorithm>
#include<queue>
#include<cstring>
#include<string>
#include<vector>
#include<cstdio>
#define INF 0x3f3f3f3f
using namespace std;
char c[100];
int main(){
	int n;
	scanf("%d",&n);

	while(n--){
		getchar();
	scanf("%s",&c);
	int count=0;

	for(int i=0;i<strlen(c);i++){

	if(c[i]=='a'||c[i]=='e'||c[i]=='i'||c[i]=='o'||c[i]=='u')
		count++;
	}
	printf("%d\n",count);
	
	}
	
}