题解
2026-01-27 18:48:46
发布于:江苏
13阅读
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\n";
}else{
cout<<"no\n";
}
if(a==b||a==c||b==c){
cout<<"yes\n";
}else{
cout<<"no\n";
}
cout<<"yes";
}else{
cout<<"no\nno\nno";
}
return 0;
}
这里空空如也






有帮助,赞一个