func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long a, b, sum = 0;     vector<long long> A;     int n;     cin >> n;     A.resize(n);     for (int i = 0; i < n; i++) {       cin >> a;       sum += a;       A[i] = sum;     }     b = sum / 2 + (sum % 2);     a = 0;     while (A[a] < b) a++;     cout << a + 1;   }   