관리 메뉴

솜씨좋은장씨

[BaekJoon] 11784번 : Hex Code (Python) 본문

Programming/코딩 1일 1문제

[BaekJoon] 11784번 : Hex Code (Python)

솜씨좋은장씨 2022. 8. 22. 12:40
728x90
반응형

코딩 1일 1문제! 오늘의 문제는 백준의 Hex Code 입니다.

 

11784번: Hex Code

In the movie The Martian (2015), astronaut Mark Watney, one of the crew members of Mission Ares III, was left behind on Mars due to an unexpected incident during the surface exploration on the planet Mars. The communication with Earth was quasi-inexistent.

www.acmicpc.net

👨🏻‍💻 코드 ( Solution )

def hex_code(code):
    return bytearray.fromhex(code).decode()

if __name__ == "__main__":
    while True:
        try:
            code = input()

            print(hex_code(code))
        except EOFError:
            break
 

GitHub - SOMJANG/CODINGTEST_PRACTICE: 1일 1문제 since 2020.02.07

1일 1문제 since 2020.02.07. Contribute to SOMJANG/CODINGTEST_PRACTICE development by creating an account on GitHub.

github.com

Comments