func_code_string: #include <bits/stdc++.h>   using namespace std;   const int nmax = 2e5 + 42;   int n, k;   int main() {     cin >> n >> k;     int d = (n - k) / 2;     int cycle = d + 1;     for (int i = 1; i <= n; i++)       if (i % cycle == 0)         cout <<  1 ;       else         cout <<  0 ;     return 0;   }   