#include<bits/stdc++.h>
using namespace std;
int main()
{
double x1,y1,x2,y2,x3,y3;
cin>>x1>>y1>>x2>>y2>>x3>>y3;
double a=sqrt(pow(x1-x2,2)+pow(y1-y2,2));
double b=sqrt(pow(x2-x3,2)+pow(y2-y3,2));
double c=sqrt(pow(x3-x1,2)+pow(y3-y1,2));
double p= (a+b+c)/2;
double S= sqrt(p*(p-a)*(p-b)*(p-c));
cout<<fixed<<setprecision(2)<<S;
return 0;
}
03-12
03-14
542
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-08
9万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-13
5万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-25
1768
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)