func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, k;     cin >> n >> k;     string s;     cin >> s;     if (n == 1 && k == 1) {       cout <<  0  << endl;       return 0;     }     if (s[0] !=  1  && k) {       k--;       s[0] =  1 ;     }     for (int i = 1; i < n && k; i++) {       if (s[i] !=  0 ) {         s[i] =  0 ;         k--;       }     }     cout << s << endl;     return 0;   }   