#include <iostream> #include <vector> #include <string> using namespace std; int main() { string a; vector<string> vstr; while (cin >> a) { vstr.push_back(a); } cout << (*(vstr.end()-1)).size() << endl; } 将输入字符串存到vector,最后取出vec...