# 이진 문자 해석
#### CODE <a class='btn btn-default' href='/codes/5654'>Link</a>
```
public class BinaryDecoder {
public static void main(String[] args) {
// inputs
String[] inputs = new String[args.length];
for (int i = 0; i < args.length; i++) {
inputs[i] = args[i];
}
// decode
StringBuffer sbuf = new StringBuffer();
for (String binary : inputs) {
/* 해당 부분을 구현하시오. */
char c = (char) Integer.parseInt(binary, 2);
sbuf.append(c);
}
// print
System.out.println(sbuf.toString());
}
}
```
#### INPUT
```
01010000 01110010 01101111 01100111 01110010 01100001 01101101
01101101 01101001 01101110 01100111 00100000 01101001 01110011
00100000 01100110 01110101 01101110 00100001 00100000 01010010
01101001 01100111 01101000 01110100 00111111 00100000 01010111
01100101 01101100 01100011 01101111 01101101 01100101 00100000
01110100 01101111 00100000 01001000 01100101 01101100 01101100
00100000 01010111 01101111 01110010 01101100 01100100 00100001
11110000 00001111
```
#### OUPUT
```
Programming is fun! Right? Welcome to Hell World!ð
```
sehongpark님의 답변
# 입력 이진수를 문자열로 변환
주어진 코드는 입력된 이진 문자열을, 실제 문자열로 변환하는 코드입니다.
#### 입력 값
```
# 이진 문자열
01010000 01110010 01101111 01100111 01110010 01100001 01101101
01101101 01101001 01101110 01100111 00100000 01101001 01110011
00100000 01100110 01110101 01101110 00100001 00100000 01010010
01101001 01100111 01101000 01110100 00111111 00100000 01010111
01100101 01101100 01100011 01101111 01101101 01100101 00100000
01110100 01101111 00100000 01001000 01100101 01101100 01101100
00100000 01010111 01101111 01110010 01101100 01100100 00100001
11110000 00001111
```
#### 출력 값
```
Programming is fun! Right? Welcome to Hell World!
```