题解(超简好记)
2025-10-03 17:19:03
发布于:浙江
0阅读
0回复
0点赞
注:其实不用费劲吧唧的记ASCll码,像我这样,简单省事
#include<bits/stdc++.h>
using namespace std;
char a;
int main(){
cin>>a;
if(a<='9' && a>='0')cout<<"0";
else if(a>='a')cout<<"a";
else if(a>='A' && a<='Z')cout<<"A";
else cout<<"other";
return 0;
}
这里空空如也





有帮助,赞一个