Because of necessary software maintenance, Jutge.org may not work well on the afternoons of the 20th and 21th of april.
Reversing a list of words (1)
P26041
Statement
html
Write a program that reads a sequence of words
and prints it in reverse order.
Input
Input consists of a sequence of words.
Output
Print the words of the original sequence,
in reverse order, and one per line.
Observation
For the sake of practice, use recursion (not arrays).
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.