#include using namespace std; using ll = long long; using ull = unsigned long long; void solve(); int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int test_case; cin>>test_case; while (test_case--){ solve(); } } void solve(){ int D; ll A; cin>>D>>A; for(int i=0;i>X; cout<<(X+A/2)/A<<(i==D-1?'\n':' '); } }