题解 | #牛牛的金币#
牛牛的金币
http://www.nowcoder.com/practice/35d8e3e569dc49f2a1018d1dc9186998
x,y = map (int,input().split())
x1,y1 = map(int,input().split())
y2 = y1-y
x2 = x1-x
if (x2,y2)==(0,1):
print("u")
if (x2,y2)==(0,-1):
print("d")
if (x2,y2)==(1,0):
print("r")
if (x2,y2)==(-1,0):
print("l")
字节跳动公司福利 1374人发布