竞赛
考级
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; if(a+b>c&&a+c>b&&c+b>a){ cout<<"yes"; } else{ cout<<"no"; } }
菜
构成三角形的基本性质: 任意两条边之和大于第三条边。 按照这样的性质做,代码如下: 简单吧?!
名侦探柯南 IOI OI排名最高
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if((a+b)>c&&(a+c)>b&&(c+b)>a){ cout<<"yes"; }else{ cout<<"no"; } return 0; }
皮皮虾.资本受害人😋😋😋
#include <bits/stdc++.h> using namespace std; int a,b,c; void s(int a,int b,int c){ if(a+b>c&&a+c>b&&c+b>a) cout<<"yes"; else cout<<"no"; } int main (){ cin>>a>>b>>c; s(a,b,c); return 0; }
\\芝加哥大叔//
#include<bits/stdc++.h> using namespace std; int main(){ long long x,y,z; cin>>x>>y>>z; if((x+y)>z&&(x+z)>y&&(z+y)>x){ cout<<"yes"; } else{ cout<<"no"; } return 0; }
YYDS yes
#include<bits/stdc++.h> using namespace std ; int main(){ int a,b,c ; cin >> a>> b >> c ; if(a+b+c-max(a,max(b,c))<=max(a,max(b,c)))cout << "no" ; else { cout << "yes" ; } return 0 ; }
伊格贰臂
#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if (a+b>c&&b+c>a&&c+a>b) cout << "yes"; else cout << "no"; }
666
#include <iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a+b>c&&a+c>b&&c+b>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&&a+c>b&&b+c>a){ cout<<"yes"; }else{ cout<<"no"; } return 0; }
130****2086
#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){ cout<<"yes"; }else cout<<"no"; }
ddgd
#include <iostream> using namespace std; int main(){ int a,s,d; cin>>a>>s>>d; if ((a+s)>d&&(a+d)>s&&(s+d)>a){ cout<<"yes"; } else { cout<<"no"; }
一颗核弹
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; }
把海弄干的鱼
#include <iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a+b<=c||b+c<=a||a+c<=b){ cout<<"no"; }else{ cout<<"yes"; } }
138****0315
#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) { cout << "yes" << endl; } else { cout << "no" << endl; } return 0; }
Cristiano Ronald
#include<stdio.h> int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a+b>c&&a+c>b&&c+b>a)printf("yes"); else printf("no"); return 0; }
新世纪福音老登
枫岚
#include <iostream> 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"; }else{ cout<<"no"; } return 0; } //懂了吧?
阿道夫—奶龙
毛奕程
include <iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if((a+b)>c&&(a+c)>b&&(c+b)>a) { cout<<"yes"; } else { cout<<"no"; } return 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){ cout<<"yes"; }else{ cout<<"no"; } return 0; }
Dream
共105条