| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 65820 | 苏馨怡 | 09判断ASCLL码 | C++ | Wrong Answer | 0 MS | 272 KB | 281 | 2024-02-20 15:13:57 |
#include<iostream> using namespace std; int main(){ char a; cin>>a; if(a>='A' && a<='Z') { cout<<"upper"; } else if(a>='a' && a<='z'){ cout<<"lower"; } else if(a>='0' && a<='9') { cout<<"digital"; } else{ cout<<"other"; } }
------Input------
4
------Answer-----
Digital
------Your output-----
digital