java-计算三角形面积 摘要:```java import java.util.Scanner; public class Main{ public static void main(String[] args){ …… 题解列表 2024年09月05日 0 点赞 0 评论 256 浏览 评分:0.0
海伦公式秒杀 摘要:解题思路:注意事项:参考代码:import mathnum=list(map(float,input().split()))a=math.sqrt((num[3] - num[1]) ** 2 + (…… 题解列表 2024年11月30日 0 点赞 0 评论 190 浏览 评分:0.0
编写题解 2774: 计算三角形面积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ float x1,x2,x3,y1,y2,y3; double a,b…… 题解列表 2024年12月05日 1 点赞 0 评论 226 浏览 评分:0.0
三角形的面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x1,y1,x2,y2,x3,y3,s,a,b,c,z; …… 题解列表 2022年11月01日 0 点赞 0 评论 244 浏览 评分: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
简单三角形面积c++题解(海伦公式) 摘要:解题思路:我们可以利用海伦公式#a,b,c 是三角形的边长#S 是面积我们可以利用勾股定理,求出边长。注意事项: 我们无法知道那个边是底和高,所以要用海伦公式参考代码:#include <iostre…… 题解列表 2023年01月15日 0 点赞 2 评论 555 浏览 评分:5.0
2774: 计算三角形面积 摘要:解题思路:注意事项:参考代码:import mathx1,y1,x2,y2,x3,y3 = map(float,input().strip().split())a = math.sqrt((x1 - …… 题解列表 2024年01月15日 0 点赞 0 评论 272 浏览 评分:5.3
已知三点求面积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ float x1, y1, x2, y2, x3, y3; scanf("%…… 题解列表 2024年02月28日 0 点赞 0 评论 484 浏览 评分:6.0
2774: 计算三角形面积(利用海伦公式) 摘要:```cpp #include #include #include using namespace std; int main() { float x1, y1, x2, y…… 题解列表 2023年11月22日 0 点赞 0 评论 334 浏览 评分:6.0