Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
77270 sh25_shenpy 字符类型判断 C++ Wrong Answer 0 MS 244 KB 265 2025-12-21 20:34:22

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(int(c)>='0'&&int(c)<='9') cout<<"lower"; else cout<<"other"; return 0; }


Judgement Protocol: