Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
86931 sh25_zhangyy 字符类型判断 C++ 通过 1 MS 240 KB 256 2026-04-10 14:47:25

Tests(4/4):


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


测评信息: