编写题解 2792: 三角形判断,禁止抄答案,否则第2天被雷劈
摘要:解题思路:注意事项:禁止抄答案,否则第2天被雷劈参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,s……
感谢支持,谢谢你们的支持
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; if(a……
2792-普普通通的解题方法
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); if ( 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: ……