| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 153607 | 李昱龙 | 字符类型 | C++ | Accepted | 1 MS | 268 KB | 465 | 2026-05-23 13:45:40 |
#include<bits/stdc++.h> using namespace std; int main(){ char c; c = getchar(); if(c>='A'&&c<='Z'){ if(c=='A'||c=='E'||c=='I'||c=='O'||c=='U'){ cout<<"Upper Vowel"; }else{ cout<<"Upper Letter"; } } else if(c>='a'&&c<='z'){ if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u'){ cout<<"Lower Vowel"; }else{ cout<<"Lower Letter"; } } else if(c>='0'&&c<='9'){ cout<<"Digit"; } else{ cout<<"Other"; } return 0; }