Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
3761 | 杨洋杰 | 02武王伐纣 | C++ | Wrong Answer | 0 MS | 260 KB | 279 | 2024-06-30 16:59:47 |
#include<iostream> using namespace std; int main(){ char a; cin>>a; int b=(int)a; if(b>=48&&b<=57) cout<<"Digital"; else if(b>=65&&b<=90) cout<<"Upper Letter"; else if(b>=97&&b<=122) cout<<"Lower Letter"; else cout<<"other"; return 0; }
------Input------
0
------Answer-----
34600
------Your output-----
Digital