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,0,500);
- while (c=getchar()!="\n")
- {
- if (c==' ') memset(gl,0,500);
- for(j=0; j<6; j++)
- {
- if(c==gls[j])
- gl[c]++;
- if (gl[c]>1) { printf("YES"); return 0;}
- }
- }
- printf("NO");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement