摘要:
#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; } 阅读全文
摘要:
#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"); ... 阅读全文
摘要:
#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; } 阅读全文