提交时间:2025-12-21 20:37:39
运行 ID: 77272
#include<bits/stdc++.h> using namespace std; int main() { char c; cin>>c; if(isdigit(c)==1) cout<<"digit"; else if(c>='A'&&c<='Z') cout<<"upper"; else if(c>='a'&&c<='z') cout<<"lower"; else cout<<"other"; return 0; }