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

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

	}
	return 0;
}