#include <bits/stdc++.h>
using namespace std; typedef long long ll;
struct Point{
ll x, y;
Point( ll x=, ll y= ): x(x), y(y){}
};
typedef Point Vector;
Point p[];
Vector operator -(const Vector a, const Vector b ){
return Vector( a.x-b.x, a.y-b.y );
} ll Cross( Vector a, Vector b ){
return a.x*b.y - a.y*b.x;
} int main(){
ios::sync_with_stdio();
cin.tie();
cout.tie();
ll x1, y1, x2, y2, x3, y3;
while( cin >> x1 >> y1 ){
cin >> x2 >> y2 >> x3 >> y3;
p[] = Point(x1, y1);
p[] = Point(x2, y2);
p[] = Point(x3, y3);
ll ans = Cross( p[]-p[], p[]-p[] )*;
if( ans< ) ans = -ans;
cout << ans <<endl;
} return ;
}

最新文章

  1. sql字符串分组
  2. 《编写可维护的JavaScript》——JavaScript编码规范(一)
  3. FIS
  4. Hadoop 2.2.0 4结点集群安装 非HA
  5. PHP 运行方式(PHP SAPI介绍)
  6. nginx+apache+php+mysql服务器集群搭建
  7. 使用jdk操作 wsdl2java (wedservice)
  8. the field is sometimes used inside synchronized block and sometimes used without synchronization
  9. Uncaught TypeError: Cannot read property &#39;post&#39; of undefined
  10. MySQL数据库触发器(trigger)
  11. 模板不存在:./xx 错误位置 FILE: LINE:110 (thinkphp上传至服务器后模板无法解析原因)
  12. Spring学习(1)----入门学习(附spring-framework下载地址)
  13. 自己动手编写IOC框架(四)
  14. spring9——AOP之AspectJ对AOP的实现
  15. 开源的许可证GPL、LGPL、BSD、Apache 2.0
  16. 【python练习题】程序10
  17. python渗透
  18. POJ 1258 Agri-Net (Prim&amp;Kruskal)
  19. iOS-图像之CoreImage框架
  20. python实现梯度下降法

热门文章

  1. tensorflow dataloader 相关内容
  2. sqliteman
  3. Re-DD-androideasy
  4. layUI学习第四日:layUI布局系列一
  5. [WPF]实现TextBox文本框单击全选
  6. c语言文件
  7. 四种PHP异步执行的常用方式
  8. body标签添加ontouchstart属性
  9. MySQL数字类型学习笔记
  10. postman请求数据库方法(Omysql)