Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
3394 A班-何泓霏 判断是什么字符 C++ 通过 100 1 MS 256 KB 268 2024-12-28 10:49:20

Tests(3/3):


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


测评信息: