王助教经常会忘了首字母大写。现在把王助教的文章给你,请你帮他把句首字母大写都改正过来吧。
只以出现的标点符号作为唯一分句标准。
一个多行的字符串s,表示王助教写的文章。
$0 < len(s) \leq 10000$
保证s中只含有字母,数字,空格,换行和英文标点符号。
英文标点符号包括
,.?!;:'"
一个多行的字符串,表示句首字母大写已经改正的文章。
you ask me to tell you the data on the online judge. it's okay to
get data other than judging data, but you may just make your code
to fit the judging data if you have it. this will hide the true
problem under your code. you just get an "accepted" and think
things are all right. nobody know what is really going on. "accepted"
is not "correct".
You ask me to tell you the data on the online judge. It's okay to
get data other than judging data, but you may just make your code
to fit the judging data if you have it. This will hide the true
problem under your code. You just get an "accepted" and think
things are all right. Nobody know what is really going on. "accepted"
is not "correct".
换行符可能有\n和\r\n两种。
字符串的读入方法;
string s;
cin >> s;
此方法遇到任意空白字符时会停止(空格/换行/制表符等)。
这种方法会忽略所有空白字符(包括cin一个char〉 并会让你没有办法知道原来空白字符的格式。
getline(cin, s)
此方法遇到换行符停止。
char s[100];
scanf("%s", s);
此方法遇到任意空白字符时会停止(空格/换行/制表符等)。
fgets(s,sizeof(s),stdin);
此方法遇到换行符停止,并且最多读取sizeof(s)-1个字符(多余的字符会在下次读取中读取)。 到文件结束返回null。