| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 40164 | 吴乐涵 | 元音字母 | C++ | Wrong Answer | 0 | 0 MS | 256 KB | 267 | 2022-05-28 13:45:15 |
#include<bits/stdc++.h> using namespace std; string s; int ans; int main(){ cin>>s; for(int i=1;i<=s.size()-1;i++){ if(s[i]=='a'||s[i]=='e'||s[i]=='i'||s[i]=='o'||s[i]=='A'||s[i]=='E'||s[i]=='I'||s[i]=='O'||s[i]=='U') ans++; } cout<<ans; return 0; }