func_code_string: #include <bits/stdc++.h>   using namespace std;   const int maxn = 2e5 + 5;   int sumo[maxn], sume[maxn];   int main() {     int n;     ios::sync_with_stdio(0);     cin >> n;     for (int i = 1; i <= n; i++) {       int t;       cin >> t;       if (i % 2)         sumo[i] = sumo[i - 1] + t;       else         sumo[i] = sumo[i - 1];       if (i % 2 == 0)         sume[i] = sume[i - 1] + t;       else         sume[i] = sume[i - 1];     }     int ans = 0;     for (int i = 1; i <= n; i++) {       int cnto = sumo[i - 1] + (sume[n] - sume[i]);       int cnte = sume[i - 1] + (sumo[n] - sumo[i]);       if (cnto == cnte) {         ans++;       }     }     cout << ans << endl;     return 0;   }   