| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 153144 | 李沐阳 | 字符类型 | C++ | Wrong Answer | 1 MS | 280 KB | 490 | 2026-05-10 10:58:32 |
#include<bits/stdc++.h> using namespace std; int main(){ char s; cin>>s; if(s>='A'&&s<='Z'){ if(s=='A'||s=='E'||s=='I'||s=='O'||s=='U'){ cout<<"Upper Vowel"<<endl; } else{ cout<<"Upper Letter"<<endl; } }else if(s>='a'&&s<='z'){ if(s=='a'||s=='e'||s=='i'||s=='o'||s=='u'){ cout<<"Upper Vowel"<<endl; } else{ cout<<"Upper Letter"<<endl; } }else if(s<='9'&&s>='0'){ cout<<"Digit"<<endl; }else{ cout<<"Other"<<endl; } return 0; }
------Input------
e
------Answer-----
Lower Vowel
------Your output-----
Upper Vowel