Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
61671 | teacher_wang | 字符类型判断 | C++ | Wrong Answer | 0 MS | 240 KB | 360 | 2025-03-06 20:09:16 |
#include <iostream> // 头文件 → 工具 using namespace std; // 命名空间 // 主函数 : 炒菜主要的动作 int main() { char a; cin>>a; if(a>='A' && a<='Z') cout<<"upper"; else if(a>='a'&&a<='z') cout<<"lower"; else if(a>='0'&&a<='9') cout<<"digit"; else cout<<"other"; return 0; // 程序的终止语句 }