func_code_string: #include <bits/stdc++.h>   using namespace std;   void solve(vector<int> &v, int n, int k) {     set<int> s;     for (int i = 0; i < n; i++) s.insert(v[i]);     if (s.size() >= k) {       vector<int> res;       cout <<  YES  << endl;       for (auto x : s) {         for (int i = 0; i < n; i++) {           if (x == v[i]) {             res.push_back(i + 1);             break;           }         }       }       for (int i = 0; i < k; i++) {         cout << res[i] <<    ;       }       cout << endl;     } else       cout <<  NO  << endl;   }   int main() {     int n, k;     cin >> n >> k;     vector<int> a(n);     for (int i = 0; i < n; i++) cin >> a[i];     solve(a, n, k);     return 0;   }   