Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
6308 罗炜翰 判断字符类型 C++ Accepted 100 1 MS 260 KB 272 2025-02-23 13:39:51

Tests(5/5):


#include<bits/stdc++.h> using namespace std; int main() { char c1; cin>>c1; if((c1<=57)&&(c1>=48)) { cout<<"0"; } else if((c1<=90)&&(c1>=65)) { cout<<"A"; } else if((c1<=122)&&(c1>=97)) { cout<<"a"; } else { cout<<"other"; } }


Judgement Protocol: