摘要: #include 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; } 阅读全文
posted @ 2018-10-08 17:01 MichaelCecil 阅读(1093) 评论(0) 推荐(0) 编辑
摘要: #include int main() { int a,b; while(scanf("%d %d",&a,&b)!=EOF) if(1500+a*5+b*5>=1800) printf("A"); if(1500+a*5+b*5>=1700&&1500+a*5+b*5=1600&&1500+a*5+b*5<=1699) printf("C"); ... 阅读全文
posted @ 2018-10-08 16:52 MichaelCecil 阅读(1140) 评论(0) 推荐(0) 编辑
摘要: #include int main() { int a,b,c; while(scanf("%d %d %d",&a,&b,&c)!=EOF) if(a*a+b*b==c*c||a*a+c*c==b*b||b*b+c*c==a*a) printf("yes"); else printf("no"); return 0; } 阅读全文
posted @ 2018-10-08 16:29 MichaelCecil 阅读(971) 评论(0) 推荐(0) 编辑