Run ID:133055

提交时间:2025-10-13 19:07:13

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,b,c,m; cin>>a>>b>>c; if(b+c>a && b+a>c && a+c>b){ if(a==b || a==c || b==c){ cout<<"Isosceles Triangle"; } if(a==b && b==c){ cout<<"Equilateral Triangle"; } if(a*a+b*b==c*c || b*b+c*c==a*a || a*a+c*c==b*b){ cout<<"Right Triangle"; } } else{ cout<<"NO"; } return 0; }