12311 - 识别三角形

#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,b,c,t;
	cin>>a>>b>>c;
	if(a>b) t=a,a=b,b=t;
	if(b>c) t=b,b=c,c=t;
	if(a>b) t=a,a=b,b=t;

	if(a+b>c){
		if(a==b&&b==c) cout<<"Equilateral";
		else if(a*a+b*b==c*c) cout<<"Right";
		else cout<<"General";
	}else{
		cout<<"NO";
	}
	return 0;
}