#include <bits/stdc++.h>
using namespace std;
int a, b, c;
int main(){
cin >> a >> b >> c;
if (a < b) swap(a, b);
if (b < c) swap(b, c);
if (a < b) swap(a, b);
//将abc从大到小排序,方便判断
if (a + b + c != 180) printf("Error");
else if (a == 60 && b == 60 && c == 60)
printf("Equilateral");
else if (a == 90 && b == c)
printf("Isosceles right");
else if (a == b || a == c || b == c)
printf("Isosceles");
else if (a == 90)
printf("Right");
else
printf("Scalene");
return 0;
}
评论区