为什么是22倍的三角形面积我也知道,记住吧
S=(1/2)*(x1y2*1+x2y3*1+x3y1*1-x1y3*1-x2y1*1-x3y2*1)
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N=1e5+7;
ll solve(ll a,ll b,ll c,ll d,ll e,ll f)
{
    return abs(a*d+b*e+c*f-a*f-b*c-d*e);
}
int main()
{
    ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
    ll a,b,c,d,e,f;
    while(cin>>a>>b>>c>>d>>e>>f){
        cout<<11*solve(a,b,c,d,e,f)<<"\n";
    }
    return 0;
}