2 条题解
-
012337陈子函 (12337陈子函) LV 8 @ 2021-11-02 22:18:37
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
if(a+b>c&&b+c>a&&a+c>b)
cout<<"yes"<<endl;
else
cout<<"no"<<endl;
return 0;
} -
-22021-11-02 21:12:11@
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
if(a+b>c&&b+c>a&&a+c>b)
cout<<"yes"<<endl;
else
cout<<"no"<<endl;
return 0;
}
- 1
信息
- ID
- 2345
- 难度
- 1
- 分类
- (无)
- 标签
- 递交数
- 167
- 已通过
- 106
- 通过率
- 63%
- 被复制
- 3
- 上传者