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