func_code_string: #include <bits/stdc++.h>   using namespace std;   auto main() -> int {     int N, X, Y;     cin >> N;     vector<int> C(N);     for (int i = 0; i < N; i++) cin >> C[i];     cin >> X >> Y;     int l = 0;     int ret = 0;     for (int i = 0; i < N; i++) {       if (l < X) {         if (l + C[i] <= Y)           l += C[i];         else           break;       } else if (l >= X && l <= Y) {         int t = 0;         for (int j = i; j < N; j++) t += C[j];         if (t >= X && t <= Y) {           ret = i + 1;           break;         } else {           l += C[i];         }       }     }     cout << ret << endl;     return 0;   }   