8 条题解
- 1
信息
- ID
- 2135
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 2
- 标签
- 递交数
- 578
- 已通过
- 272
- 上传者
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a+b>c and b+c>a and a+c>b){ cout<<"yes"; }else { cout<<"no"; } return 0; }
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
if(a+>c and a+c>b and b+c>a)cout<<"yes";
else{
cout<<"no";
}
return 0;
}
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a+b>c){ cout<<"yes"; } else{ cout<<"no"; } }
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
if(a+b>c and a+c>b and b+c>a){
cout<<"yes";
}
else{
cout<<"no";
}
return 0;
}
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a+b>c and a+c>b and b+c>a){ cout<<"yes"; } else{ cout<<"no"; } return 0; }
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,yes,no; cin>>a>>b>>c; if(a+b>c&&a+c>b&&b+c>a){ cout<<"yes"; }else{ cout<<"no"; } return 0; }
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
if(a+>c and a+c>b and b+c>a)cout<<"yes";
else{
cout<<"no";
}
return 0;
}