func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     string n;     cin >> n;     long long even = 0;     long long odd = 0;     long long len = n.length();     long long aeven = 0;     long long aodd = 0;     long long beven = 0;     long long bodd = 0;     for (int i = 0; i < len; i++) {       if (n[i] ==  a ) {         if (i % 2 == 1) {           aodd++;           odd += aodd;           even += aeven;         } else {           aeven++;           odd += aeven;           even += aodd;         }       } else {         if (i % 2 == 1) {           bodd++;           odd += bodd;           even += beven;         } else {           beven++;           odd += beven;           even += bodd;         }       }     }     cout << even <<     << odd << endl;   }   