#C4740. Decrypt ASCII Encoded Messages
Decrypt ASCII Encoded Messages
Decrypt ASCII Encoded Messages
You are given an integer n representing the number of messages, followed by n lines, each containing a sequence of space-separated ASCII values. Your task is to decrypt each message by converting every ASCII value to its corresponding character.
This challenge tests your ability to manipulate strings and perform basic conversions between numeric codes and characters. For a given ASCII code x, its corresponding character can be obtained using the formula \(\text{chr}(x)\).
inputFormat
The input is read from stdin and consists of multiple lines:
- The first line contains a single integer n indicating the number of messages.
- The following n lines each contain a sequence of space-separated integers representing the ASCII values of characters in that message.
outputFormat
For each input message, output the decrypted message on a new line to stdout. No extra spaces or characters should be printed.## sample
1
72 101 108 108 111 32 87 111 114 108 100
Hello World