| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5177 | admin | 判断字符类型 | C++ | Accepted | 100 | 0 MS | 260 KB | 343 | 2025-01-23 15:34:34 |
#include <bits/stdc++.h> using namespace std; int main(){ char a; cin>>a; if (a >= 'a' && a <= 'z'){ cout<<'a'<<endl; } else if (a >= 'A' && a <= 'Z'){ cout<<'A'<<endl; } else if (a >= '0' && a <= '9'){ cout<<'0'<<endl; } else{ cout<<"other"<<endl; } return 0; }