Back
Close

Decode me

Statement

 Goal

You must output the decoded variant of an encoded message.

An encoded message is comprised of characters in their ASCII form with the exception of the space character which is used to separate each ASCII value from the next.

The ASCII value "32" is used to separate each word from the next. It is to be converted to its character form and included in the decoded message. In addition to that, each word has its character order reversed.
Input
A string message that contains the encoded message.
Output
A single line containing the decoded message.
Example
Input
111 108 108 101 72 32 101 114 101 104 116 32 41 58
Output
Hello there :)

Game modes
Fastest, Shortest, Reverse

Test cases
Test 1 Test
Input
111 108 108 101 72 32 101 114 101 104 116 32 41 58
Output
Hello there :)

Validator 1 Validator
Input
58 41 32 116 104 101 114 101 32 72 101 108 108 111
Output
): ereht olleH

Test 2 Test
Input
49 32 43 32 50 32 61 32 63 49 50 32 116 105 97 87 32 97 32 46 46 46 101 116 117 110 105 109
Output
1 + 2 = 21? Wait a minute...

Validator 2 Validator
Input
109 105 110 117 116 101 46 46 46 32 97 32 87 97 105 116 32 49 50 63 32 61 32 50 32 43 32 49
Output
...etunim a tiaW ?21 = 2 + 1

Test 3 Test
Input
101 114 39 117 111 89 32 103 110 105 111 103 32 111 116 32 101 107 105 108 32 101 104 116 32 116 120 101 110 32 116 115 101 116 32 101 115 97 99 32 44 101 107 105 108 40 32 121 108 108 97 101 114 32 46 41 101 107 105 108 32 116 115 101 66 32 102 111 32 33 107 99 117 108 32 41 58
Output
You're going to like the next test case (like, really like). Best of luck! :)

Validator 3 Validator
Input
58 41 32 108 117 99 107 33 32 111 102 32 66 101 115 116 32 108 105 107 101 41 46 32 114 101 97 108 108 121 32 40 108 105 107 101 44 32 99 97 115 101 32 116 101 115 116 32 110 101 120 116 32 116 104 101 32 108 105 107 101 32 116 111 32 103 111 105 110 103 32 89 111 117 39 114 101
Output
): !kcul fo tseB .)ekil yllaer ,ekil( esac tset txen eht ekil ot gniog er'uoY

Test 4 Test
Input
126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
Output
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

Validator 4 Validator
Input
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
Output
~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!

Solution language

Solution

Stub generator input