Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
77269 sh25_shenpy 字符类型判断 C++ 解答错误 0 MS 252 KB 255 2025-12-21 20:33:42

Tests(1/4):


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


测评信息: