#include<bits/stdc++.h> using namespace std; int main(){ char a[101]; int i = 1; while(scanf("%c", &a[i]) != EOF){ if(a[i] != 'a' && a[i] != 'e' && a[i] != 'i' && a[i] != 'o' && a[i] != 'u'){ cout << a[i]; } i++; } return 0; }
#include<bits/stdc++.h> using namespace std; #define int long long char st[110]; signed main() { scanf("%s",st+1); for(int i=1;i<=strlen(st+1);i++) if(st[i]!='a'&&st[i]!='e'&&st[i]!='i'&&st[i]!='o'&&st[i]!='u') cout<<st[i]; return 0; }
注册一个 oirush 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 oirush 通用账户