func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, i;     cin >> n;     pair<int, int> a[n];     for (i = 0; i < n; i++) {       cin >> a[i].first;       a[i].second = i + 1;     }     sort(a, a + n);     int ans = a[0].first / max(a[0].second - 1, n - a[0].second);     for (i = 1; i < n - 1; i++)       ans = min(ans, a[i].first / max(a[i].second - 1, n - a[i].second));     cout << ans;     return 0;   }   