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: 266ms
Memory: 1092kB
In contest: 1276

#include<stdio.h>
#include<string.h>
int main(void)
{
	int i,t,j,sum;char k[51];
	scanf("%d",&t);
	for(i=0;i<t;i++)
	{
		scanf("%s",&k);sum=0;
		for(j=0;j<strlen(k);j++)
		{
			if(k[j]=='a'||k[j]=='e'||k[j]=='i'||k[j]=='o'||k[j]=='u')
				sum++;
		}
		printf("%d\n",sum);
	}
}