牛客 简写单词
简写单词_牛客题霸_牛客网
主要是如何输入
#include <iostream>
#include <string>
using namespace std;
int main() {
string str;
while(cin>>str)
{
if(str[0]>='a'&&str[0]<='z')
{
cout<<char(str[0]-32);
}
else cout<<str[0];
str.clear();
}
}