叉积

#include<iostream>
using namespace std;
struct point
{
int x,y;
};
int main()
{
point p,q;
cin>>p.x>>p.y>>q.x>>q.y;
cout<<p.x*q.y+p.y*q.x<<endl;
}

 

posted @ 2014-08-13 21:50  2014acm  阅读(116)  评论(0编辑  收藏  举报