支持Markdown
支持公式
支持图片
#include <iostream> using namespace std; typedef long long ll; const int inf = 0x3f3f3f3f; const int maxn = 100000 + 5; int main() { ll x1, y1, x2, y2, x3, y3; while(cin >> x1 >> y1 >> x2 >> y2 >> x3 >> y3) { ll res = 11*((x1-x2)*(y3-y2)-(y1-y2)*(x3-x2)); if(res < 0) res = -res; cout << res << endl; } return 0; }