| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 40162 | 安一宸 | 元音字母 | C++ | Wrong Answer | 0 | 0 MS | 260 KB | 286 | 2022-05-28 13:44:22 |
#include<bits/stdc++.h> using namespace std; string a; int ans; int main(){ cin>>a; for(int i=1;i<=a.size();i++){ if(a[i]=='a'||a[i]=='e'||a[i]=='i'||a[i]=='o'||a[i]=='u'||a[i]=='A'||a[i]=='E'||a[i]=='I'||a[i]=='O'||a[i]=='U'){ ans++; } } cout<<ans; return 0; }