CT912

Elio's Indigo scrolls

EasyL2 · Byte BanditAcceptance: 0.0%XP: 10

Elio inherited the ropewalk at the port of Emberfall along with its curious bookkeeping system for scrolls. Time to make sense of it. Task: Read a line of space-separated words and print the words in reverse order. Input format: One line with words separated by single spaces. Output format: Print the words in reverse order, single-spaced. Constraints: 1 <= |s| <= 154; s contains lowercase English letters.

Example 1:

Input: rmk lxra lzfl epnovzjwdmi tdtkkxk
Output: tdtkkxk epnovzjwdmi lzfl lxra rmk

Example 2:

Input: lf pyqmycmtnb t f lu szbts yxyoogz rxbbmmr idebjzuwj vbecgosewilv ziim rsjchs tfkhanw fiakumkog hgdhtarkafi
Output: hgdhtarkafi fiakumkog tfkhanw rsjchs ziim vbecgosewilv idebjzuwj rxbbmmr yxyoogz szbts lu f t pyqmycmtnb lf

Example 3:

Input: vsjca slrmxoamh b senj
Output: senj b slrmxoamh vsjca

Constraints:

1 <= |s| <= 154; s contains lowercase English letters.

Loading...
Test Cases:No test cases
No test cases available.