| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 156802 | 王培臻 | 字符类型 | C++ | Wrong Answer | 1 MS | 272 KB | 514 | 2026-07-11 11:15:50 |
#include<iostream> using namespace std; int main() { long long d; cin>>d; char a[1]; if(a[1]>='A'&&a[1]<='Z'){ if(a[1]=='A'||a[1]=='E'||a[1]=='I'||a[1]=='O'||a[1]=='U'){ cout<<"UpperVowel"; }else{ cout<<"Upperletter"; } }else{ if(a[1]>='a'&&a[1]<='z'){ if(a[1]=='a'||a[1]=='e'||a[1]=='i'||a[1]=='o'||a[1]=='u'){ cout<<"LowerVowel"; }else{ cout<<"Lowerletter"; } }else{ if(a[1]>='0'&&a[1]<='9'){ cout<<"Digit"; }else{ cout<<"Other"; } } } return 0; }
------Input------
e
------Answer-----
Lower Vowel
------Your output-----
Other