Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
165432 周邓钰 09判断ASCLL码 C++ Accepted 1 MS 272 KB 523 2026-11-15 14:16:39

Tests(5/5):


Code:

#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 n; cin>>n; if('A'<=n&&'Z'>=n){ cout<<"Upper Letter"<<endl; } else if('a'<=n&&n<='z'){ cout<<"Lower Letter"<<endl; } else if('0'<=n&&'9'>=n){ cout<<"Digital"<<endl; } else cout<<"other"; return 0; }