Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5432 D班-汤依宁 判断字符类型 C++ 通过 100 0 MS 264 KB 272 2025-02-09 15:07:52

Tests(5/5):


#include <bits/stdc++.h> using namespace std; int main() { int a; char b; cin>>b; a=b; if(a>=48 && a<=59) { cout<<"0"; } else if(a>=65 && a<97) { cout<<"A"; } else if(a>=97 && a<=124) { cout<<"a"; } else { cout<<"other"; } }


测评信息: