提交时间:2024-01-07 14:22:22

运行 ID: 34470

#include"bits/stdc++.h" using namespace std; int main(){ string s; cin>>s; if(s[0]>='A'&&s[0]<='Z')cout<<s; else{ s[0]=s[0]-32; cout<<s; } }