2774: 计算三角形面积(利用海伦公式) 摘要:```cpp #include #include #include using namespace std; int main() { float x1, y1, x2, y…… 题解列表 2023年11月22日 0 点赞 0 评论 334 浏览 评分:6.0
计算三角形面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double distance(float x1, float y1, float x2, float …… 题解列表 2023年11月13日 0 点赞 3 评论 608 浏览 评分:9.9
海伦公式计算三角形面积 摘要:解题思路:注意事项:计算值要设置为double参考代码:#include<stdio.h>#include<math.h>double distance(float x1, float y1, flo…… 题解列表 2023年09月18日 0 点赞 0 评论 791 浏览 评分:9.9
计算三角形面积(斯,好严格,除了输入的值,后面的值都得设双精度double,才能过) 摘要:解题思路: 难点在于是否记得海伦公式吧, 三角形面积公式: 先求周长 s=(a+b+c)/2; 面积 area=sqrt((s*(s-a)*(s-b)*(s-c))); 注意事项:…… 题解列表 2023年09月05日 0 点赞 0 评论 158 浏览 评分:0.0
计算三角形面积 摘要: ```c #include #include int main() {…… 题解列表 2023年07月22日 0 点赞 0 评论 364 浏览 评分:9.0
三角形面积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ float x1,x2,x3,y1,y2,y3,d1,d2,d3,s;…… 题解列表 2023年07月12日 0 点赞 0 评论 128 浏览 评分:0.0
计算三角形面积 摘要:解题思路:运用求两点间距离公式和海伦公式注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double xa,x…… 题解列表 2023年04月29日 0 点赞 0 评论 141 浏览 评分:2.0
感谢支持(谢谢) 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb,xc,yc; cin>>xa…… 题解列表 2023年04月29日 0 点赞 0 评论 113 浏览 评分:4.0
2774: 计算三角形面积 摘要:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a; cin>>a>>b>>c>>d>>e>>f; …… 题解列表 2023年04月29日 0 点赞 0 评论 329 浏览 评分:9.9
计算三角形面积 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc=new Sc…… 题解列表 2023年04月13日 0 点赞 0 评论 225 浏览 评分:0.0