func_code_string: #include <bits/stdc++.h>   using namespace std;   using ll = long long;   using ull = unsigned long long;   int n;   int cnt[1 << 20];   int cnt2[1 << 20];   int main() {     ios::sync_with_stdio(false);     cin.tie(0), cout.tie(0);     cin >> n;     ll res = 0;     ++cnt2[0];     for (int pref = 0, a, i = 1; i <= n; ++i) {       cin >> a;       pref ^= a;       if (i & 1) {         res += cnt[pref];         ++cnt[pref];       } else {         res += cnt2[pref];         ++cnt2[pref];       }     }     cout << res << endl;     return 0;   }   