include[HTML_REMOVED]
include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
int main(){
string a,b;
while(cin>>a){
if(a.back()==’.’) a.pop_back(); //如果每个单词最后有标点的话 去掉
if(a.size()>b.size()) b=a; //update 最长单词
}
cout<<b<<endl;
return 0;
}
加上Mathdown格式吧