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

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