본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 31868번 수박 게임

by 현장 2024. 5. 22.

-Code

n, k = map(int, input().split())
print(k // (2 ** (n - 1)))