2 条题解

  • 0
    @ 2026-5-17 14:34:37
    #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;
    }
    • 0
      @ 2026-2-27 16:01:58
      #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;
      }
      • 1

      信息

      ID
      8859
      时间
      2000ms
      内存
      1024MiB
      难度
      4
      标签
      递交数
      35
      已通过
      19
      上传者