#include #include #include int main() { float ax,ay,bx,by,cx,cy; scanf("%f %f %f %f %f %f",&ax,&ay,&bx,&by,&cx,&cy); float res=(ax*(by-cy)+bx*(cy-ay)+cx*(ay-by))/2; if (res<0) { res=-res; } printf("%.4f",res); return 0; }