func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(false);     int k = 0, l = 0, i = 0, count = 0, x = -1, y = 0;     vector<int> alpha(26, 0);     string s;     cin >> k >> s;     char temp[105][105];     for (i = 0; s[i] !=   0 ; i++) {       alpha[s[i] -  a ] += 1;       if (alpha[s[i] -  a ] == 1) {         ++x;         y = 0;         temp[x][y] = s[i];       } else {         y++;         temp[x][y] = s[i];       }     }     for (i = 0; i < 26; i++) {       if (alpha[i] != 0) count++;     }     if (count >= k) {       cout <<  YES  << endl;       for (i = 0; i < k; i++) {         if (i != k - 1) {           cout << temp[i] << endl;         } else {           int j = 0;           for (j = i; j <= x; j++) cout << temp[j];         }       }     } else {       cout <<  NO ;     }     return 0;   }   