| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5269 | A班-过懿萱 | 判断字符类型 | C++ | Accepted | 100 | 1 MS | 264 KB | 312 | 2025-01-26 08:52:12 |
#include <bits/stdc++.h> using namespace std; int main() { char n; cin>>n; if(n >= 'A' && n <= 'Z') { cout<<"A"<<endl; } else if(n >= 'a' && n <= 'z') { cout<<"a"<<endl; } else if(n >= '0' && n <= '9') { cout<<"0"<<endl; } else { cout<<"other"<<endl; } return 0; }