#include #include #include //#include #include #include #define ll long long using namespace std; int n,k,l,x; vector samp[1001000]; bool taken[1001000]; bool ok; int cnt[1001000]; int missing; int i; int zac; int kon; //vector last; int main() { ios::sync_with_stdio(false); //cout << setprecision(10); while(cin>>n>>k) { bool epicfail=false; missing=k; int ma=999999999; int cur=0; for(i=0; i>l; for(int j=0; j>x; if(!taken[x]) taken[x]=true;; samp[i].push_back(x); } } for(i=1; i