mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
22 lines
355 B
C++
22 lines
355 B
C++
#include <cstdio>
|
|
#include <cstring>
|
|
#include <cstdlib>
|
|
using namespace std;
|
|
|
|
char buff[1024];
|
|
|
|
int main()
|
|
{
|
|
gets(buff);
|
|
int l=strlen(buff);
|
|
for(int i=0;i<l;i++)
|
|
{
|
|
if(buff[i]=='a'||buff[i]=='e'||buff[i]=='i'||buff[i]=='o'||buff[i]=='u')
|
|
{
|
|
printf("%c",buff[i]);
|
|
}
|
|
}
|
|
printf("\n");
|
|
return 0;
|
|
}
|