func_code_string: #include <bits/stdc++.h>   using namespace std;   long long cross(pair<long long, long long> a, pair<long long, long long> b,                   pair<long long, long long> c) {     return abs((b.first - a.first) * (c.second - a.second) -                (b.second - a.second) * (c.first - a.first));   }   vector<pair<long long, long long> > P;   int n;   long long s;   int main() {     cin >> n >> s;     for (int i = 1; i <= n; i++) {       pair<long long, long long> p;       cin >> p.first >> p.second;       P.push_back(p);     }     sort(P.begin(), P.end());     pair<long long, long long> a, b, c;     a = P[0], b = P[1], c = P[2];     long long ans = cross(a, b, c);     int flag = 1;     while (flag) {       flag = 0;       for (int i = 0; i < P.size(); i++) {         long long tmp = cross(P[i], b, c);         if (tmp > ans) {           ans = tmp;           a = P[i];           flag = 1;         }       }       for (int i = 0; i < P.size(); i++) {         long long tmp = cross(a, P[i], c);         if (tmp > ans) {           ans = tmp;           b = P[i];           flag = 1;         }       }       for (int i = 0; i < P.size(); i++) {         long long tmp = cross(a, b, P[i]);         if (tmp > ans) {           ans = tmp;           c = P[i];           flag = 1;         }       }     }     cout << a.first + b.first - c.first <<     << a.second + b.second - c.second          << endl;     cout << a.first + c.first - b.first <<     << a.second + c.second - b.second          << endl;     cout << b.first + c.first - a.first <<     << b.second + c.second - a.second          << endl;   }   