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

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