| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 77705 | 邓嘉懿 | 字符类型 | C++ | Wrong Answer | 1 MS | 276 KB | 430 | 2024-06-15 11:22:19 |
#include<bits/stdc++.h> using namespace std; int main(){ char c; cin>>c; if(c=='A'||c=='E'||c=='I'||c=='O'||c=='U'){ cout<<"Upper Vowel"; }else if(c>='A'&&c<='Z'){ cout<<"Upper Letter"; }else if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u'){ cout<<"Lower Vowel"; }else if(c>='a'&&c<='z'){ cout<<"Lower Letter"; }else if(c>='0'&&c<='9'){ cout<<"Digit"; }else{ cout<<"Digit"; } return 0; }
------Input------
------Answer-----
Other
------Your output-----
Digit