题解 | #牛牛的金币#
牛牛的金币
https://www.nowcoder.com/practice/35d8e3e569dc49f2a1018d1dc9186998
#include <stdio.h> int main() { int a, b; int c,d; scanf("%d %d %d %d",&a,&b,&c,&d); if(a==c) { if(b > d) printf("d\n"); else printf("u\n");; }else if(b==d) { if(a > c) { printf("l\n"); } else { printf("r\n"); } } return 0; }