2 条题解
-
-212101张三 (12101张三) LV 8 @ 2022-01-13 20:27:49
#include<iostream> #include<cmath> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a+b>c&&a+c>b&&b+c>a) cout<<"yes"<<endl; else cout<<"no"<<endl; return 0; }
-
-22021-10-29 20:59:35@
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
if(a+b>c&&a+c>b&&b+c>a)
cout<<"yes"<<endl;
else
cout<<"no"<<endl;
return 0;
}
//👍
- 1
信息
- ID
- 1708
- 难度
- 1
- 分类
- (无)
- 标签
- 递交数
- 170
- 已通过
- 118
- 通过率
- 69%
- 被复制
- 2
- 上传者