题解
2025-01-24 18:32:10
发布于:江苏
2阅读
0回复
0点赞
#include<iostream>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
if(a+b>c&&a+c>b&&b+c>a){
if(a==b&&a==c&&b==c){
cout<<"yes"<<endl;
}else{
cout<<"no"<<endl;
}
if(a==b||a==c||b==c){
cout<<"yes"<<endl;
}else{
cout<<"no"<<endl;
}
cout<<"yes";
}else{
cout<<"no"<<endl;
cout<<"no"<<endl;
cout<<"no";
}
return 0;
}
这里空空如也
有帮助,赞一个