题解 2774: 计算三角形面积

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

筛选

海伦公式秒杀

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

ikun崩溃代码

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

题目 2774: 计算三角形面积

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<math.h> using namespace std; int main() { double x1……

2774: 计算三角形面积

摘要:解题思路:海伦公式注意事项:参考代码:#include<iostream> #include<cstdio> #include<cmath> using namespace std; doub……

2774: 计算三角形面积

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    double x1,y1,x2,y2,x3,y3,a……

三角形的面积

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

叉积求面积

摘要:解题思路:注意事项:参考代码:def Cross(x1,y1,x2,y2):    return x1*y2-y1*x2x1,y1,x2,y2,x3,y3=map(float,input().spli……