CT21566

Hugo's Caramel Ledger

EasyL3 · Syntax SurferAcceptance: 0.0%XP: 20

Deep in the floating docks of Skyharbor, Hugo studies rows of charms entries. One clean number will settle the guild's oldest argument. 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| <= 1086; s contains lowercase English letters.

Example 1:

Input: fblrojlimuan
Output: fblrojlimuan

Example 2:

Input: ctxdo hsyripein zyqvo lxk
Output: lxk zyqvo hsyripein ctxdo

Example 3:

Input: p rnduforytyat dpilbt g qqbgdkrmf afykwvwnw zwsjdtxntvrm jhtpuw jtpuab jwvc rbbnggboxg eqahpymeej
Output: eqahpymeej rbbnggboxg jwvc jtpuab jhtpuw zwsjdtxntvrm afykwvwnw qqbgdkrmf g dpilbt rnduforytyat p

Constraints:

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

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