// C++ Program to find sum of Fibonacci numbers in // O(Log n) time. #include using namespace std; const long long MAX = LLONG_MAX; // Driver program to test above function int main() { int t; cin>>t; while(t--){ long long n,x; cin>>n>>x; vectorans; long long sum = 0; for(int i=1; i<=x; i++){ if(n == 1){ if(x-sum>ans.back()){ ans.push_back(x-sum); n--; } break; } sum+=i; ans.push_back(i); n--; } // cout<