mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-26 20:12:00 +00:00
15 lines
238 B
C++
15 lines
238 B
C++
|
#include <bits/stdc++.h>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
int main() {
|
||
|
string s;
|
||
|
vector<string> c;
|
||
|
while (cin >> s) c.push_back(s);
|
||
|
reverse(c.begin(), c.end());
|
||
|
for (auto i : c) {
|
||
|
cout << i << ' ';
|
||
|
}
|
||
|
return 0;
|
||
|
}
|