题解 | #牛牛的计划#
牛牛的计划
https://www.nowcoder.com/practice/cf956ceef9f84f7393a0b7284fdbf95a
#include <stdio.h> int main() { int a,b,c,d,e,f; scanf("%d %d %d",&a,&b,&c); scanf("%d %d %d",&d,&e,&f); if(d>a){printf("yes");} else if(d==a){ if(e>b){printf("yes");} else if(e==b){ if(f>=c){printf("yes");} else printf("no"); } else printf("no"); } else printf("no"); return 0; }