两边之和大于第三边
2023-07-24 18:25:50
发布于:河北
1阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
if(a+b>c&&a+c>b&&b+c>b&&a-b<c&&a-c<b&&b-c<a){
cout<<"yes";
}else{
cout<<"no";
}
return 0;
}
这里空空如也
有帮助,赞一个