Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
61671 wangwei 字符类型判断 C++ 解答错误 0 MS 240 KB 360 2025-03-06 20:09:16

Tests(0/1):


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


测评信息: