#include<bits/stdc++.h> using namespace std; string s[100010]; int size; int main(){ while(cin>>s[size]) size++; cout<<s[size-1]; for(int i=size-2;i>=0;i--) cout<<' '<<s[i]; return 0; } 为什么是错的》
By signing up a TuringEDU universal account, you can submit code and join discussions in all online judging services provided by us.
Using your TuringEDU universal account