语法练习
#include <iostream>
#include <sstream>
using namespace std;
string s;
int main(int argc, char** argv) {
getline(cin, s);
istringstream in(s);
string ans, t;
while (in >> t)
ans = t + ' ' + ans;
cout << ans << endl;
return 0;
}