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