//#define _GLIBCXX_DEBUG #include #include #include #include using namespace std; using namespace atcoder; using ll = long long; using mint = modint998244353; const double pi = 3.14159265359879323846264338327950288419; const ll INF = 9 * 1e18; using p = pair; int main() { int t; cin >> t; for(int i = 0; i < t; i++){ ll n, x; cin >> n >> x; vector ans(n); for(int j = 0; j < n; j++){ ans[j] = n - j; x -= n - j; } if(x < 0) cout << -1 << endl; else{ int tmp = x / n; for(int j = 0; j < n; j++){ if(j < x % n) ans[j]++; cout << ans[j] + tmp << " "; } cout << endl; } } }