| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 40178 | 朱宸瑜 | 元音字母 | C++ | Wrong Answer | 10 | 0 MS | 260 KB | 257 | 2022-05-28 13:52:53 |
#include<bits/stdc++.h> using namespace std; string a; int l,ans=0; int main(){ cin>>a; l=a.size(); for(int i=0;i<l;i++){ if(a[i]=='a' ||a[i]=='e' ||a[i]=='i' ||a[i]=='o' ||a[i]=='u'){ ans++; } } cout<<ans; return 0; }