题解 2792: 三角形判断

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

三角形判断

摘要:解题思路:要注意公式即两边之和大于第三边注意事项:参考代码:#include<stdio.h>int main(){    int a,b,c;    scanf("%d%d%d",&a,&b,&c)……

禁止作弊!

摘要:解题思路:用勾股定理注意事项:禁止作弊!#include<bits\c++.h>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……

三角形判断

摘要:解题思路:额注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a,b,c;    cin>>a>>b>>c;    ……

2792-普普通通的解题方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); if ( a + b > c && ……

三角形判断

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int a,b,c;    cin>>a>>b>>c……

编写题解 2792: 三角形判断

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){    int a,b,c;    cin >>a>>b>>c;   ……

python编写题解 2792: 三角形判断

摘要:解题思路:三角形的三边关系:任意两边之和大于第三边或者任意两边之差小于第三边。参考代码:a, b, c = map(int, input().split()) if a+b > c and a+c ……

2792: 三角形判断

摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input().strip().split())if a + b > c and a + c > b and b + c > a:    ……