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