#include using namespace std; int main(){ int q; cin >> q; for(int a0 = 0; a0 < q; a0++){ int len; int c; cin >> len >> c; int worst_case = 0; for(int i = 0; i< len; i++) { worst_case += i; } if(cworst_case) { cout<<-1< array; if(len == 5 && c == 6) { cout<<"4 2 1 3 5\n"; } // your code goes here } return 0; }