#pragma GCC optimize("Ofast") #include using namespace std; typedef long long int ll; typedef unsigned long long ull; mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count()); ll myRand(ll B) { return (ull)rng() % B; } struct Point{ ll x,y; }; ll cross(Point a,Point b){ return a.x*b.y-a.y*b.x; } ll area(const vector &g){ ll res=0.0; for(int i=0;i> n; vector v(n); for(auto &p:v){ cin >> p.x >> p.y; } cout << area(v) << endl; }