还是三角形ansi.c 397 B

1234567891011121314
  1. #include <stdio.h>
  2. int main() {
  3. int a,b,c;
  4. scanf("%d %d %d",&a,&b,&c);
  5. if(a == b && b == c) printf("µÈ±ßÈý½ÇÐÎ");
  6. else if(a == b || b == c || a == c) printf("µÈÑüÈý½ÇÐÎ");
  7. else if(a*a + b*b == c*c || a*a + c*c == b*b || b*b + c*c == a*a) printf("Ö±½ÇÈý½ÇÐÎ");
  8. else if(a*a + b*b < c*c || b*b + c*c < a*a || c*c + a*a < b*b) printf("¶Û½ÇÈý½ÇÐÎ");
  9. else printf("Èñ½ÇÈý½ÇÐÎ");
  10. return 0;
  11. }