Problem H: 零起点学算法28——参加程序设计竞赛
#include<stdio.h> int main() { int a,b; while(scanf("%d %d",&a,&b)!=EOF) if(a<=6||b<=2||a<=20&&b<5) printf("yes\n"); else printf("no\n"); return 0; }
#include<stdio.h> int main() { int a,b; while(scanf("%d %d",&a,&b)!=EOF) if(a<=6||b<=2||a<=20&&b<5) printf("yes\n"); else printf("no\n"); return 0; }