diff --git a/AcWing/775/775.cpp b/AcWing/775/775.cpp new file mode 100644 index 00000000..c30fb670 --- /dev/null +++ b/AcWing/775/775.cpp @@ -0,0 +1,14 @@ +#include + +using namespace std; + +int main() { + string s; + vector c; + while (cin >> s) c.push_back(s); + reverse(c.begin(), c.end()); + for (auto i : c) { + cout << i << ' '; + } + return 0; +}