**1074-Z (python, 파이썬)
N, r, c = map(int, input().split()) def Z(msize, x, y): if msize == 1: return 0 msize //= 2 for i in range(2): for j in range(2): if x < msize * (i+1) and y < msize * (j+1): return (i*2+j) * msize * msize + Z(msize, x-msize*i, y-msize*j) print(Z(2 ** N, r, c))
2020. 10. 16.