Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
7356 | 侯宜辰 | 09判断ASCLL码 | C++ | Wrong Answer | 2 MS | 252 KB | 555 | 2025-04-19 19:35:30 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ char q ; cin>>q; if(q>='Z'&&q<='A'){ cout<<"Upper Letter"<<endl; } else if(q>='z'&&q<='a'){ cout<<"Lower Letter"<<endl; } else if(q>='9'&&q<='0'){ cout<<"Digital"<<endl; } else{ cout<<"other"<<endl; } return 0; }
------Input------
A
------Answer-----
Upper Letter
------Your output-----
other