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

#include<stdio.h>
int main(){
	int t,num;
	char ch[50];
	scanf("%d\n",&t);
	while(t--){
        gets(ch);
		num=0;
		for(int n=0;ch[n]!='\0';n++){
			if(ch[n]=='a'||ch[n]=='e'||ch[n]=='i'||ch[n]=='o'||ch[n]=='u')
				num+=1;
		}
		printf("%d\n",num);
	}
}