1 solutions
-
0
#include<bits/stdc++.h> using namespace std; int main(){ vector<string>a; string g; getline(cin,g); stringstream ss(g); string w; int h=0; while(ss>>w){ a.push_back(w); h++; } for (int i =a.size() - 1; i >= 0; i--) { cout << a[i]; if (i != 0) { cout << " "; } } return 0; }
- 1
Information
- ID
- 1925
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 10
- Tags
- # Submissions
- 4
- Accepted
- 1
- Uploaded By