Programming/Python & Data Structures
[Baekjoon/Python3] 1550번 16진수
HooNeee
2020. 12. 3. 00:59
[Baekjoon/Python3] 1550번 16진수
1550번: 16진수
첫째 줄에 16진수 수가 주어진다. 이 수의 최대 길이는 6글자이다. 16진수 수는 0~9와 A~F로 이루어져 있고, A~F는 10~15를 뜻한다. 또, 이 수는 음이 아닌 정수이다.
www.acmicpc.net
print(int(input(), 16))