666

龚治滔  •  15天前


include <stdio.h>

include <math.h>

int main() {

int a, b, c;
scanf("%d%d%d", &a, &b, &c);
if (a + b > c && a - b < c && a == b && a != c && b != c) {
	printf("IT");
} else if (a == b && a == c && b == c) {
	printf("ET");
} else	if (a + b > c && a - b < c && a * a + b * b > c * c ) {
	printf("AT");
} else if (a + b > c && a - b < c && a * a + b * b == c * c) {
	printf("RT");
} else if (a + b > c && a - b < c && a * a + b * b < c * c) {
	printf("OT");
} else {
	printf("NO");
}
return 0;

}


评论:

请先登录,才能进行评论