func_code_string: #include <bits/stdc++.h>   using namespace std;   vector<vector<int> > bord(312345);   vector<int> ans;   int main() {     std::ios::sync_with_stdio(false);     int n, a, b, k;     cin >> n >> a >> b >> k;     string s;     cin >> s;     int i, sumi = 0, counter = 0;     for (i = 0; i < n; i++) {       if (s[i] ==  1 ) {         counter++;       } else {         bord[counter].push_back(i + 1);       }     }     for (i = 0; i < counter + 1; i++) {       sumi += bord[i].size() / b;     }     sumi -= a;     sumi++;     cout << sumi << endl;     for (i = 0; i < counter + 1; i++) {       int val = bord[i].size();       int j = b - 1;       while (sumi) {         if (j < val) {           ans.push_back(bord[i][j]);           j += b;           sumi--;         } else {           break;         }       }     }     for (i = 0; i < ans.size(); i++) {       cout << ans[i] <<    ;     }   }   