func_code_string: #include <bits/stdc++.h>   using namespace std;   using ld = long double;   ld sq(ld x) { return x * x; }   int main() {     size_t n;     cin >> n;     vector<ld> mn(n), mx(n), mnk(n), mxk(n);     for (size_t i = 0; i != n; ++i) {       cin >> mx[i];     }     for (size_t i = 0; i != n; ++i) {       cin >> mn[i];     }     mnk[0] = mn[0];     mxk[0] = mx[0];     for (size_t i = 1; i != n; ++i) {       mnk[i] = mnk[i - 1] + mn[i];       mxk[i] = mxk[i - 1] + mx[i];     }     vector<ld> a(n), b(n), ak(n), bk(n);     ak[n - 1] = 1;     bk[n - 1] = 1;     for (size_t i = 0; i < n - 1; ++i) {       ld u = mxk[i];       ld v = mnk[i];       ld D = sqrt(sq(u + v) - 4 * u);       ld x1 = (u + v + D) / 2;       ld x2 = (u + v - D) / 2;       ak[i] = x1;       bk[i] = x2;     }     a[0] = ak[0];     b[0] = bk[0];     for (size_t i = 1; i != n; ++i) {       a[i] = ak[i] - ak[i - 1];       b[i] = bk[i] - bk[i - 1];     }     for (size_t i = 0; i != n; ++i) cout << a[i] <<    ;     cout << endl;     for (size_t i = 0; i != n; ++i) cout << b[i] <<    ;     cout << endl;   }   