#include <iostream>#include <algorithm>#include <cmath>usingnamespacestd;typedefpair<double,double>PDD;#define x first#define y seconddoublecross(doublex1,doubley1,doublex2,doubley2){returnx1*y2-x2*y1;}intmain(){PDDpts[3];for(inti=0;i<3;i++){scanf("%lf%lf",&pts[i].first,&pts[i].second);}cout<<0.5*cross(pts[1].x-pts[0].x,pts[1].y-pts[0].y,pts[2].x-pts[0].x,pts[2].y-pts[0].y)<<endl;return0;}