题解 2792: 三角形判断

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

筛选

2792-普普通通的解题方法

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

最普通的解题方法

摘要:解题思路:注意事项:把形成三角形的必要条件补充完整参考代码:#include<stdio.h>int main(){    int a,b,c;    scanf("%d %d %d",&a,&b,&……

与运算完成三角形判断

摘要:解题思路:            三条线段能组成三角形的条件:            ①两边之和大于第三边            ②两边之差小于

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

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

编写题解 2792: 三角形判断

摘要:解题思路:两个较短的边之和大于最长的那条边注意事项:参考代码:a=list(map(int,input().split()))a.sort()if a[0]+a[1]>a[2]:    print(&……

编写题解 2792: 三角形判断

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

java--study||O.o

摘要:参考代码:import java.util.Scanner;   public class Main {   public static void main(String[] args)   ……

2792: 三角形判断

摘要:解题思路:注意事项:三角形两边之和大于第三边参考代码:#include <iostream>using namespace std;int main(){    int a,b,c;    cin >……

编写题解 2792: 三角形判断

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