简单
#include <iostream> #include <string> using namespace std; int main() { string res; string here; while(cin >> res){ here = res; } cout << here.size() << endl;; return 0; }