正确的对应顺序
import math
k=int(input())
x,y=map(int,input().split())
length=pow(2,k)
#x1,y1公主所在位置 x2,y2正方形左上角位置
def solve(x1,y1,x2,y2,length):
if(length==1):
return
if(x1-x2<=length/2-1 and y1-y2<=length/2-1):#左上角
print(int(x2+length/2),end=' ')
print(int(y2+length/2),end=' ')
print(1)
solve(x1,y1,x2,y2,le