#C1784. Binary ASCII Converter
Binary ASCII Converter
Binary ASCII Converter
You are given a string for each test case. Your task is to convert every character of the given string into its corresponding 8-bit binary ASCII representation and then concatenate all these representations into one binary string.
For example, the character 'A' has an ASCII value of 65, which in 8-bit binary is 01000001. If the input string is hello
, then the output should be 0110100001100101011011000110110001101111
.
inputFormat
The first line of input is an integer T (1 ≤ T ≤ 104) representing the number of test cases. The following T lines each contain one string. Each string may consist of any printable ASCII characters. The conversion should treat each character independently.
outputFormat
For each test case, output a single line containing the 8-bit binary ASCII conversion of the given string.
## sample2
hello
123
0110100001100101011011000110110001101111
001100010011001000110011
</p>