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

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