1 条题解

  • 0
    @ 2025-1-11 11:39:25
    #include<bits/stdc++.h>
    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(isdigit(a)){
            cout<<"digit";
        }else{
            cout<<"other";
        }
        return 0;
    }
    
    • 1

    信息

    ID
    29
    时间
    1000ms
    内存
    64MiB
    难度
    6
    标签
    递交数
    15
    已通过
    11
    上传者