Files
python/TangDou/XiTi/1093.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

18 lines
295 B
C++

#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
string temp;
stringstream ss(s);
//按空格分割
while (ss >> temp) {
reverse(temp.begin(), temp.end());
cout << temp<<" " ;
}
return 0;
}