4 条题解
- 1
信息
- ID
- 4
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 7
- 标签
- 递交数
- 24
- 已通过
- 8
- 上传者
 konglinghao
      
                      LV 8
                    
 @ 2023-12-31 11:02:19
    
          konglinghao
      
                      LV 8
                    
 @ 2023-12-31 11:02:19
        #include <bits/stdc++.h>
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;
}
 konglinghao
      
                      LV 8
                    
 @ 2023-12-31 11:02:11
    
          konglinghao
      
                      LV 8
                    
 @ 2023-12-31 11:02:11
        #include <bits/stdc++.h> 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; }