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

#include<stdio.h>
int main(){
	int t,i,a;
	char s[50];
	scanf("%d",&t);
	while(t--){
		scanf("%s",s);
		a=0;
		for(i=0;i<strlen(s);i++){
			if(s[i]==97||s[i]==101||s[i]==105||s[i]==111||s[i]==117)
			a++;
		}
		printf("%d\n",a);
	}
	return 0;
}