题解 2774: 计算三角形面积

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

java-计算三角形面积

摘要:```java import java.util.Scanner; public class Main{ public static void main(String[] args){ ……

海伦公式秒杀

摘要:解题思路:注意事项:参考代码:import mathnum=list(map(float,input().split()))a=math.sqrt((num[3] - num[1]) ** 2 + (……

三角形的面积

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){    double x1,y1,x2,y2,x3,y3,s,a,b,c,z;  ……

计算三角形面积

摘要:解题思路:运用求两点间距离公式和海伦公式注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    double xa,x……

感谢支持(谢谢)

摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){    double xa,ya,xb,yb,xc,yc;    cin>>xa……

简单三角形面积c++题解(海伦公式)

摘要:解题思路:我们可以利用海伦公式#a,b,c 是三角形的边长#S 是面积我们可以利用勾股定理,求出边长。注意事项: 我们无法知道那个边是底和高,所以要用海伦公式参考代码:#include <iostre……

2774: 计算三角形面积

摘要:解题思路:注意事项:参考代码:import mathx1,y1,x2,y2,x3,y3 = map(float,input().strip().split())a = math.sqrt((x1 - ……

已知三点求面积

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ float x1, y1, x2, y2, x3, y3; scanf("%……