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

Разделы > Неотсортированные > задача:


REVERSE ORDER OF WORDS

Задачи раздела

• Find the biggest 2
• Find the biggest 3
• Tower of Happiness
• Going to the Movies
• A to the power of B
• X to the power of Y
• Connected components
• Arithmetic Operators
• REVERSE ORDER OF WORDS
• A Palace with Many Columns
• Nameplates
• Cycle detection
• Cities and roads
• Adjacency matrix to edges list
• Edges list to Adjacency matrix
• Permutations
• Reverse permutation

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

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

Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб.

Title

Description:

 

Write a program that reverses the words in the sentence.

 

Input:

 

Input contains only line of sentence with uppercase letters.

 

Output:

 

Your output should contain only one sentence which is reverse order of the words of the sentence given from input.

 

Sample input:

 

WHAT IS YOUR NAME

 

Sample output:

 

NAME YOUR IS WHAT

 

 

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

www.contester.ru