Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
61673 wangwei 字符类型判断 C++ 通过 0 MS 252 KB 360 2025-03-06 20:12:49

Tests(4/4):


#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; // 程序的终止语句 }


测评信息: