func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int i, j, k;     int n;     cin >> n;     long arr[n][2];     for (i = 0; i < n; i++) cin >> arr[i][0] >> arr[i][1];     long long minx, miny, maxx, maxy;     minx = arr[0][0];     miny = arr[0][1];     maxx = arr[0][0];     maxy = arr[0][1];     for (i = 0; i < n; i++) {       if (minx > arr[i][0]) minx = arr[i][0];       if (miny > arr[i][1]) miny = arr[i][1];       if (maxx < arr[i][0]) maxx = arr[i][0];       if (maxy < arr[i][1]) maxy = arr[i][1];     }     long long l1, l2;     l1 = (maxx - minx);     l2 = (maxy - miny);     if (l1 > l2)       cout << l1 * l1;     else       cout << l2 * l2;   }   