题目
解
#include <iostream>
#include <string>
using namespace std;
int main()
{
string s;
while(cin>>s)
{
}
cout<<s.length();
return 0;
}
#include <iostream>
#include <string>
using namespace std;
int main()
{
string s;
while(cin>>s)
{
}
cout<<s.length();
return 0;
}