#include <stdio.h> int main() { int x = 0;//牛牛的坐标 int y = 0; int x1 = 0;//金币的坐标 int y1 = 0; scanf("%d %d", &x, &y);//输入 scanf("%d %d", &x1, &y1); if (y1 == y + 1) { printf("u\n"); } if (y1 == y - 1) { printf("d\n"); } if (x1 == x + 1) { printf("r\n"); } if (x1 == x - 1) { printf("l\n"); } return 0; }