#include<iostream>
#include<string>
#include<stack>
using namespace std;
int main(){
string word;
stack<string> word_stack ;
bool flag = false;
while(cin>>word){
word_stack.push(word);
}
while(!word_stack.empty()){
if(flag)
cout<<" ";
else flag = true;
cout<<word_stack.top();
word_stack.pop();
}
}
1009:说反话 (20)
最新推荐文章于 2022-09-08 07:47:53 发布