H 哇还有小动物

输入里有几个大写字母就输出几(代表了有几个汉字)

void solve(){
 string s,t;
 cin>>s>>t;
 ll cnt=0;
 for(char c:s){
     if(c<='Z' and c>='A') cnt++;
 }
 cout<<cnt;
}