陈教主的三角形 (C++代码)
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<cstdio>
#include<cmath>
using namespace std;
int mai……
陈教主的三角形-题解(C语言代码)
摘要:```c
#include
int main()
{
int a,b,c;
while((scanf("%d%d%d",&a,&b,&c))!=EOF)
{
……
陈教主的三角形 (C++代码)
摘要:解题思路:很简单的一道题,不知道为什么通过率这么低注意事项:参考代码:#include <deque>#include <algorithm>#include <iostream>#include <……
陈教主的三角形 (C语言代码)
摘要:#include "stdafx.h"int triangle(int a, int b, int c){ if ((a + b > c) && (a + c) > b && (b + c) ……
陈教主的三角形 (C语言代码)
摘要:参考代码:#include <iostream>
using namespace std;
int main()
{
int a,b,c;
while(cin>>a>>b>>……
陈教主的三角形-题解(C语言代码)
摘要: //1387多行测试数据,每行包含三个整数a、b、c(0= b && a >= c)
triangle(a, b, c);
else if (b >= a && ……
陈教主的三角形 (C/C++语言代码)不难啊,怎么这题正确率那么低
摘要:解题思路: 就是定义三个变量作为三条边,然后依次判断三条边是否两两大于第三条边就可以了,本题目没有难度,怎么正确率那么低呢?参考代码:【C++,不过修改成C语言也是分分钟的事情】#inc……