题解 2774: 计算三角形面积

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

筛选

叉积求面积

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

java-计算三角形面积

```javaimportjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scannersc=newScanner(System.in);doublex1=sc.nextDouble(),

三角形面积

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

海伦公式秒杀

解题思路:注意事项:参考代码:importmathnum=list(map(float,input().split()))a=math.sqrt((num[3]-num[1])**2+(num[2]-num[0])**2)b=math.sqrt((num[5]-num[1])**2+(num[4]-n

计算三角形面积

摘要:解题思路:注意事项:参考代码:public class Main {    public static void main(String[] args) {     Scanner sc=new Sc……

题目 2774: 计算三角形面积

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

ikun崩溃代码

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

编写题解 2774: 计算三角形面积

解题思路:注意事项:参考代码:importmathx1,y1,x2,y2,x3,y3=map(float,input().split())a=math.sqrt(math.pow(x1-x2,2)+math.pow(y1-y2,2))b=math.sqrt(math.pow(x2-x3,