func_code_string: #include <bits/stdc++.h>   using namespace std;   template <class c>   struct rge {     c b, e;   };   template <class c>   rge<c> range(c i, c j) {     return rge<c>{i, j};   }   template <class c>   auto dud(c* x) -> decltype(cerr << *x, 0);   template <class c>   char dud(...);   struct debug {     template <class c>     debug& operator<<(const c&) {       return *this;     }   };   const long long xx = 2e5 + 10;   vector<long long> pos[xx];   signed main() {     ios::sync_with_stdio(false);     cin.tie(0);     long long n, m, k;     cin >> n >> m >> k;     vector<long long> v(n);     vector<pair<long long, long long>> pi;     for (long long i = 0; i < n; i++) {       cin >> v[i];       pi.emplace_back(v[i], i);     }     sort(pi.rbegin(), pi.rend());     vector<pair<long long, long long>> vp;     long long sum = 0;     for (long long i = 0; i < m * k; i++) {       sum += pi[i].first;       vp.emplace_back(pi[i].second, pi[i].first);     }     sort(vp.begin(), vp.end());     cout << sum <<   n ;     for (long long i = m - 1; i < vp.size() - m; i += m) {       long long x = vp[i].first;       cout << x + 1 <<    ;     }     cout <<   n ;   }   