HDU 2027 统计元音
摘要:
1 #include<stdio.h> 2 #include<string.h> 3 #include<stdlib.h> 4 int main() 5 { 6 int i,t,n=1; 7 char str[100]; 8 char tabstr[]="aeiou"; 9 int tab[300];10 scanf("%d%*c",&t);11 while(t--)12 {13 gets(str);14 memset(tab,0,sizeof(tab));15 for(i=0;str[... 阅读全文
posted @ 2012-08-02 16:17 mycapple 阅读(217) 评论(0) 推荐(0)