陈教主的三角形 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; while(~scanf("%d %d %d", &a,&b,&c)){ if(a …… 题解列表 2019年01月20日 0 点赞 0 评论 322 浏览 评分:0.0
陈教主的三角形-题解(C++代码) 摘要:利用三角形三边关系判断是否为三角形 ```cpp #include using namespace std; int main() { int a_int, b_int, c…… 题解列表 2019年12月02日 0 点赞 0 评论 268 浏览 评分:0.0
陈教主的三角形 (C语言代码) 摘要:解题思路:用任意两边之和大于第三边和任意两边之差小于第三边(其实可以用最小的两边之和和最大最小的两边之差代替,但是比较麻烦)判断三角形注意事项:任意两边求差的时候注意用绝对值参考代码: #includ…… 题解列表 2018年02月07日 0 点赞 0 评论 729 浏览 评分:0.0
陈教主的三角形 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a,b,c; while(cin>>a>>…… 题解列表 2018年04月13日 0 点赞 0 评论 465 浏览 评分:0.0
陈教主的三角形 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<cmath> using namespace std; int mai…… 题解列表 2019年04月02日 0 点赞 0 评论 336 浏览 评分:0.0
列表注意还原为空列表 摘要:解题思路:注意事项:参考代码:while True: a,b,c=map(int,input().split()) d=[a,b,c] xx=sorted(d) if xx[0…… 题解列表 2022年04月06日 0 点赞 0 评论 137 浏览 评分:0.0
陈教主的三角形-题解(C语言代码) 摘要:```c #include int main() { int a,b,c; while((scanf("%d%d%d",&a,&b,&c))!=EOF) { …… 题解列表 2019年06月21日 0 点赞 0 评论 326 浏览 评分:0.0
陈教主的三角形 (Java代码) 摘要:解题思路:注意事项:参考代码:public class 陈教主的三角形_水到不能再水 { public static void main(String[] args) { // TODO Auto-…… 题解列表 2018年05月02日 0 点赞 0 评论 570 浏览 评分:0.0
陈教主的三角形 (C语言代码) 摘要:#include "stdafx.h"int triangle(int a, int b, int c){ if ((a + b > c) && (a + c) > b && (b + c) …… 题解列表 2018年10月26日 0 点赞 1 评论 238 浏览 评分:0.0
陈教主的三角形-题解(C语言代码) 摘要: //1387多行测试数据,每行包含三个整数a、b、c(0= b && a >= c) triangle(a, b, c); else if (b >= a && …… 题解列表 2019年06月28日 0 点赞 0 评论 358 浏览 评分:0.0