陈教主的三角形-题解(C++代码,一个不等式就可以判断) 摘要:解题思路:任意两边之和大于第三边 或者 任意两边之差小于第三边。满足次条件,则此三边可以围成三角形。注意事项:记住!任意两边之和大于第三边就已经意味着任意两边之差小于第三边,所以两个条件判断一个即…… 题解列表 2020年08月16日 0 点赞 0 评论 367 浏览 评分:0.0
陈教主的三角形-题解(C++代码) 摘要:利用三角形三边关系判断是否为三角形 ```cpp #include using namespace std; int main() { int a_int, b_int, c…… 题解列表 2019年12月02日 0 点赞 0 评论 267 浏览 评分:0.0
陈教主的三角形-题解(C++代码) 摘要:```cpp #include using namespace std; int main() { int a, b, c; while (cin>>a>>b>>c) { c…… 题解列表 2019年11月27日 0 点赞 0 评论 424 浏览 评分:0.0
陈教主的三角形 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<cmath> using namespace std; int mai…… 题解列表 2019年04月02日 0 点赞 0 评论 336 浏览 评分:0.0
陈教主的三角形 (C++代码) 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS #include <iostream> #define N 1000 using namespa…… 题解列表 2018年10月30日 0 点赞 0 评论 339 浏览 评分:0.0
陈教主的三角形 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a,b,c; while(cin>>a>>…… 题解列表 2018年04月13日 0 点赞 0 评论 464 浏览 评分:0.0
陈教主的三角形 (C++代码) 摘要:解题思路:很简单的一道题,不知道为什么通过率这么低注意事项:参考代码:#include <deque>#include <algorithm>#include <iostream>#include <…… 题解列表 2018年01月21日 0 点赞 0 评论 885 浏览 评分:0.0
WU-陈教主的三角形 (C++代码) 摘要:参考代码:#include<iostream> using namespace std; int main() { int a,b,c; while(cin>>a>>b>>c) { …… 题解列表 2017年12月20日 4 点赞 0 评论 1238 浏览 评分:9.0