| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 62166 | 周梓易 | 字符类型 | C++ | Wrong Answer | 1 MS | 272 KB | 625 | 2023-12-17 16:54:13 |
# include<iostream> # include<cstdio> using namespace std; int main(){ char c; cin>>c; if(c>'A'&&c<='Z'){ if(c=='A'&&c=='E'&&c=='I'&&c=='O'&&c=='U'){ cout<<"Upper Vowel"; return 0; }else{ cout<<"Upper Letter"; return 0; } } if(c>'a'&&c<='z'){ if(c=='a'&&c=='e'&&c=='i'&&c=='o'&&c=='u'){ cout<<"Lower Vowel"; return 0; }else{ cout<<"Lower Letter"; return 0; } } if(c>'0'&&c<='9'){ cout<<"Digit"; }else{ cout<<"Other"; } return 0; }
------Input------
e
------Answer-----
Lower Vowel
------Your output-----
Lower Letter