#include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a * a + b * b == c * c)
printf("%d", a * b);
else if (a * a == b * b + c * c)
printf("%d", b * c);
else if (a * a + c * c == b * b)
printf("%d", a * c);
else
printf("no");
return 0;
}
XDOJ P56-直角三角形
最新推荐文章于 2024-09-13 22:12:17 发布