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

#include<stdio.h>
#include<string.h>
#include<algorithm>
#include<iostream>
#include<stdlib.h>
#include<map>
#include<set>
#include<queue>
#include<vector>
using namespace std;
int main()
{
	int n,m,T,k,x,y;
	char s[60];
	//scanf("%d",&);
	//printf("hello\n");
	scanf("%d",&T);
	while(T--){
		scanf("%s",s);
		int len=strlen(s);
		int ans=0;
		for(int i=0;i<len;i++){
			if(s[i]=='a'||s[i]=='e'||s[i]=='i'||s[i]=='o'||s[i]=='u') ans++;
		}
		printf("%d\n",ans);
	}
}