func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int t;     cin >> t;     while (t--) {       string s;       cin >> s;       int o = 0, t = 0, to = 0;       int n = s.length();       for (int i = 0; i < n; i++) {         if (s.substr(i, 3) ==  one ) {           o++;           i++;         } else if (s.substr(i, 5) ==  twone ) {           to++;           i += 3;         } else if (s.substr(i, 3) ==  two ) {           t++;           i++;         }       }       cout << to + o + t << endl;       for (int i = 0; i < n; i++) {         if (s.substr(i, 3) ==  one ) {           cout << i + 2 <<    ;           i++;         } else if (s.substr(i, 5) ==  twone ) {           cout << i + 3 <<    ;           i += 3;         } else if (s.substr(i, 3) ==  two ) {           cout << i + 2 <<    ;           i++;         }       }       cout << endl;     }   }   