func_code_string: #include <bits/stdc++.h>   using namespace std;   int dx[8] = {1, 0, -1, 0, -1, -1, 1, 1};   int dy[8] = {0, 1, 0, -1, -1, 1, -1, 1};   int main() {     int tc = 1;     cin >> tc;     for (int cs = 1; cs <= tc; cs++) {       string s;       cin >> s;       vector<int> v;       for (int i = (int)s.size() - 3; i >= 0; i--) {         if (s[i] ==  o  && s[i + 1] ==  n  && s[i + 2] ==  e ) {           if (i > 0 && s[i - 1] ==  o ) {             s[i + 1] =  x ;             v.push_back(i + 2);           } else {             s[i] =  x ;             v.push_back(i + 1);           }         } else if (s[i] ==  t  && s[i + 1] ==  w  && s[i + 2] ==  o ) {           if (i > 0 && s[i - 1] ==  t ) {             s[i + 1] =  x ;             v.push_back(i + 2);           } else {             s[i] =  x ;             v.push_back(i + 1);           }         }       }       cout << v.size() <<   n ;       for (int i = 0; i < v.size(); i++) {         cout << v[i] <<    ;       }       cout <<   n ;     }     return 0;   }   