陈教主的三角形-50%错误的,有可能是把判断的逻辑搞混了 摘要: #include int main(void) { int a = 0, b = 0, c = 0; while (EOF != sc…… 题解列表 2020年03月06日 0 点赞 0 评论 196 浏览 评分:0.0
陈教主的三角形 (C/C++语言代码)不难啊,怎么这题正确率那么低 摘要:解题思路: 就是定义三个变量作为三条边,然后依次判断三条边是否两两大于第三条边就可以了,本题目没有难度,怎么正确率那么低呢?参考代码:【C++,不过修改成C语言也是分分钟的事情】#inc…… 题解列表 2018年11月30日 0 点赞 0 评论 329 浏览 评分:0.0
陈教主的三角形 摘要:解题思路:任意两边之和大于第三边即可注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; while( ~(scanf("%d %d %d",&a,&b…… 题解列表 2021年10月15日 0 点赞 0 评论 140 浏览 评分:0.0
我美吗! 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a,b,c; while(scanf("%d%d%d",&a,&b,&c)!=EOF)…… 题解列表 2017年12月16日 0 点赞 1 评论 518 浏览 评分:0.0
陈教主的三角形 (C语言代码) 摘要:参考代码:#include <iostream> using namespace std; int main() { int a,b,c; while(cin>>a>>b>>…… 题解列表 2018年02月18日 0 点赞 0 评论 681 浏览 评分: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语言代码) 摘要:解题思路:注意事项:参考代码:#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语言代码) 摘要:```c #include int main() { int a,b,c; while((scanf("%d%d%d",&a,&b,&c))!=EOF) { …… 题解列表 2019年06月21日 0 点赞 0 评论 328 浏览 评分:0.0
陈教主的三角形 (C语言代码) 摘要:解题思路:用任意两边之和大于第三边和任意两边之差小于第三边(其实可以用最小的两边之和和最大最小的两边之差代替,但是比较麻烦)判断三角形注意事项:任意两边求差的时候注意用绝对值参考代码: #includ…… 题解列表 2018年02月07日 0 点赞 0 评论 729 浏览 评分:0.0