Run ID:136024

提交时间:2025-11-08 20:37:43

#include <iostream> // 里面有cin,cout等函数 #include<cmath> //里面有abs,sqrt,pow等函数 using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if (a==b or a==c or b==c) cout<<"perfect"; else if (a*a+b*b==c*c or a*a+c*c==b*b or b*b+c*c==a*a ) cout<<"good"; else cout<<"just a triangle"; return 0; }