解题思路:
注意事项:
参考代码:
#include <stdio.h>
#include<math.h>
int main()
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
if(a==sqrt(b*b+c*c)||b==sqrt(a*a+c*c)||c==sqrt(a*a+b*b))
printf("YES");
else{printf("NO");
}
return 0;
}
0.0分
0 人评分
A+B for Input-Output Practice (VII) (C语言代码)浏览:1381 |
P1001 (C++代码)浏览:779 |
C语言程序设计教程(第三版)课后习题8.8 (C语言代码)浏览:695 |
点我有惊喜!你懂得!浏览:1990 |
C二级辅导-统计字符 (C语言代码)浏览:541 |
小九九 (C语言代码)浏览:825 |
C语言程序设计教程(第三版)课后习题12.1 (C语言代码)浏览:989 |
不会做的浏览:877 |
C语言程序设计教程(第三版)课后习题6.2 (C语言代码)浏览:1420 |
printf基础练习2 (有点不明白)浏览:845 |