提交时间:2024-01-06 17:05:18

运行 ID: 34323

#include <bits/stdc++.h> using namespace std; string s; int main(){ getline(cin,s); if(s[0]>='a'&&s[0]<='z'){ c=s[0]-'a'+'A'; s=s.erase(0,1); } else if(s[0]>='A'&&s[0]<='z'){ cout<<s; } }