Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- #include <stdlib.h>
- #include <string.h>
- int main()
- {
- int gl[25000], sg=0, i, j;char c;
- char gls[]="aeiouy";
- char str[100];
- memset(gl,gl+500,0);
- while (c=getchar())
- {
- if (c==' ') memset(gl,gl+500,0);
- for(j=0; j<6; j++)
- {
- if(str[i]==gls[j])
- gl[str[i]]++;
- if (gl[str[i]]>1) { printf("YES"); return 0;}
- }
- }
- printf("NO");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement