func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     int t[n];     for (int i = 0; i < n; i++) cin >> t[i];     int left_cnt, left_time, right_cnt, right_time;     int left_idx = 0, right_idx = n - 1;     left_time = left_cnt = right_time = right_cnt = 0;     while (left_idx <= right_idx) {       left_time += t[left_idx];       left_cnt++;       while (right_idx > left_idx && right_time < left_time) {         right_time += t[right_idx--];         right_cnt++;       }       left_idx++;     }     cout << left_cnt <<     << right_cnt << endl;     return 0;   }   