ГлавнаяСборникиТурнирыРазделыФорумыУчастникиПечатьПомощьО системе

Сборники > Data Structures > задача:


50781 - ReversesreveR

Гость
• Обсуждение задачи (1)

Задачи сборника

• 50689 - The biggest building block
• 50686 - The Container
• 50753 - Average of the Nth Student
• 50464 - From Tirana to Durres
• 50506 - The Biggest Island
• 50682 - Hotel Durres
• 50777 - Dwarfs Maze
• 50488 - Connecting Wires
• 50781 - ReversesreveR
• 50780 - Hot Potato - Revisited
• 50681 - Center of a Series
• 50793 - Top M Customers
• Check-Mate
• 51073 - Campus Tours for High Sch...
• 50993 - Products in store
• Post Office Delivery
• 50564 - Kovat e qumeshtit te mamase

Обратная связь

Если у вас есть предложения или пожелания по работе Contester, посетите форум сайта www.contester.ru.

Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб.
Question Adapted from Google Code Jam.

ReversesreveR

Question: Write a program that reads a file until the end. And it shows the words in reverse order.

Input specification
You will have a file with different words (alphanumeric or special ASCII characters) in it.

Output specification
Starting from the last word, show all words.

Sample Input I   
champion the red
yellow Galatasaray
Sample Output I   
Galatasaray yellow red the champion


Для отправки решений необходимо выполнить вход.

www.contester.ru