-->
当前位置:首页 > 题库

PROGRAMMING:Pompeo: black and white

Luz5年前 (2021-05-10)题库500
On April 15, 2019, US Secretary of state Mike Pompeo gave a speech at Texas A & M University (Texas A & M University). In the meantime, he admitted bluntly: "I was director of the Central Intelligence Agency. We lie, we cheat, we steal, and we have a course for that. This is the glory of America's continuous exploration and progress. " Pompeo, a liar, is the most disgusting Secretary of state in American history. Now let's assume that everything Pompeo says is a lie. We need to reverse everything he says to be true. Can you do that?
###Input format:
The test input contains a test case that gives a string with a total length of no more than 500 000 in one line. The string is composed of several words and spaces. The word is a string composed of English letters (case sensitive). The words are separated by several spaces.
###Output format:
The output of each test case takes up one line, outputs the sentences in reverse order, and ensures that there is only one space between words.
###Input example:
Here is a set of inputs. For example:
```in
We lied we cheated we stole
```
###Output example:
The corresponding output is given here. For example:
```out
stole we cheated we lied We
```







answer:If there is no answer, please comment