func_code_string: #include <bits/stdc++.h>   using namespace std;   long long n, mi, mx;   int main() {     ios::sync_with_stdio(0);     cin.tie(0);     cout.tie(0);     cin >> n;     long long a[n];     for (int i = 0; i < n && cin >> a[i]; i++)       ;     cout << abs(a[0] - a[1]) <<     << abs(a[0] - a[n - 1]) << endl;     for (int i = 1; i < n - 1; i++) {       cout << min(abs((a[i]) - (a[i - 1])), abs((a[i]) - (a[i + 1]))) <<                << max(abs((a[i]) - (a[n - 1])), abs((a[i]) - (a[0]))) << endl;     }     cout << abs((a[n - 1]) - (a[n - 2])) <<     << abs(a[n - 1] - a[0]);     return 0;   }   