题解 | #牛牛的金币#
牛牛的金币
https://www.nowcoder.com/practice/35d8e3e569dc49f2a1018d1dc9186998
x,y = map(int,input().split(' '))
x1,y1 = map(int,input().split(' '))
if x1-x!=0:
if x1-x>0:
print('r')
else:
print('l')
elif y1-y>0:
print('u')
else:
print('d')
查看10道真题和解析