CT579

The Moonlit Mirror

EasyL2 · Byte BanditAcceptance: 0.0%XP: 10

Hema inherited the mill at the beacon hill of Lantern Tor along with its curious bookkeeping system for verses. Time to make sense of it. Task: Read a string s and print it reversed. Input format: One line with a single lowercase string s. Output format: Print s reversed. Constraints: 1 <= |s| <= 200; s contains lowercase English letters.

Example 1:

Input: ypkczzkpigltehqolyitocfdpnqzchreyjgjgadkjfjlskvficjshawjzppvvnohsryyqktovleskjhjgj
Output: jgjhjkselvotkqyyrshonvvppzjwahsjcifvksljfjkdagjgjyerhczqnpdfcotiyloqhetlgipkzzckpy

Example 2:

Input: fiywgevwbuteeykpdungetcmbofydzemsbyplatxngjyrflwgoimfqmfkrzmgmtzneqdmidyuteepeepghreuhoqhxkjcqnjkxwnvyekagslqhqpdhvnhsxtqzthzplwftnojjowtehqogosugvrmbplrt
Output: trlpbmrvgusogoqhetwojjontfwlpzhtzqtxshnvhdpqhqlsgakeyvnwxkjnqcjkxhqohuerhgpeepeetuydimdqenztmgmzrkfmqfmiogwlfryjgnxtalpybsmezdyfobmctegnudpkyeetubwvegwyif

Example 3:

Input: nriwxaxiplurhcuojpjreoqrtoelxqgompjkeergbggtsfdvi
Output: ivdfstggbgreekjpmogqxleotrqoerjpjouchrulpixaxwirn

Constraints:

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

Loading...
Test Cases:No test cases
No test cases available.
The Moonlit Mirror - EASY Coding Problem | CodeTikki