洛谷 P5015 标题统计
水题
代码
/*
* @Description:
* @Author: 多多
* @Date: 2020-10-24 22:51:24
* @LastEditTime: 2020-10-24 22:53:02
* @LastEditors: 多多
*/
#include <bits/stdc++.h>
using namespace std;
int main()
{
freopen64("P5015.in", "r", stdin);
ios::sync_with_stdio(false);
cin.tie(0);
string s;
int sum = 0;
while (cin >> s)
{
sum += s.length();
}
cout << sum << endl;
return 0;
}
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。