Python으로 구현한 11104번 Fridge of Your Dreams 문제 풀이입니다.
https://www.acmicpc.net/problem/11104
11104번: Fridge of Your Dreams
Eirik drinks a lot of Bingo Cola to help him program faster, and over the years he has burned many unnecessary calories walking all the way to the kitchen to get some. To avoid this he has just bought a small fridge, which is beautifully placed next to his
www.acmicpc.net
t = int(input())
for _ in range(t) :
n = input()
print(int(n, 2))
1. 입력받은 이진수 값에 대하여 10진수로 변환하여 출력한다.
'백준(Python) 풀이 > 수학' 카테고리의 다른 글
백준(Python) 22193번 Multiply 풀이 (0) | 2022.01.03 |
---|---|
백준(Python) 6749번 Next in line 풀이 (0) | 2021.12.29 |
백준(Python) 13985번 Equality 풀이 (0) | 2021.11.14 |
백준(Python) 12756번 고급 여관 풀이 (0) | 2021.11.14 |
백준(Python) 8949번 대충 더해 풀이 (0) | 2021.11.14 |