'commit'
This commit is contained in:
17
TangDou/XiTi/1093.cpp
Normal file
17
TangDou/XiTi/1093.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user