Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
3405 A班-高思婕 判断是什么字符 C++ 通过 100 1 MS 260 KB 300 2024-12-28 11:10:26

Tests(3/3):


#include <bits/stdc++.h> using namespace std; int main() { char a; cin>>a; if(a >= 'A' && a <= 'Z') { cout<<"upper"<<endl; } else if(a >= 'a'&& a <= 'z') { cout<<"lower"<<endl; } else if(a >= '0' && a <= '9') { cout<<"digit"<<endl; } return 0; }


测评信息: