func_code_string: #include <bits/stdc++.h>   using namespace std;   template <class C>   inline void mini(C& a4, C b4) {     a4 = min(a4, b4);   }   template <class C>   inline void maxi(C& a4, C b4) {     a4 = max(a4, b4);   }   const int INF = 1e9 + 7;   const int base = 1e9;   const int SIGMA = 26;   const int N = 1e5 + 7;   int n;   string s;   vector<int> ans;   void rec(int v) {     if (v == n) return;     if (s[v] ==  l ) {       ans.push_back(v);       rec(v + 1);     } else {       rec(v + 1);       ans.push_back(v);     }   }   int main() {     std::ios_base::sync_with_stdio(0);     cout << setprecision(15) << fixed;     cin >> s;     n = ((int)(s).size());     rec(0);     reverse((ans).begin(), (ans).end());     for (__typeof((ans).begin()) i = (ans).begin(); i != (ans).end(); ++i)       printf( %d n , *i + 1);     return 0;   }   