Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
124692 | 陈华仁星 | 字符类型 | C++ | Wrong Answer | 0 MS | 196 KB | 458 | 2025-07-12 11:22:54 |
#include <cstdio> using namespace std; int main() { char c; scanf("%c",&c); if(c>='A'&&c<='Z') { if(c=='A'||c=='E'||c=='I'||c=='O'||c=='U') printf("Upper Vowel"); else printf("Upper Letter"); } else if(c>='a'&&c<='z') { if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u') printf("Upper Vowel"); else printf("Upper Letter"); } else if(c>='0'&&c<='9') { printf("Digit"); } else printf("Other"); return 0; }
------Input------
e
------Answer-----
Lower Vowel
------Your output-----
Upper Vowel