Untitled
unknown
plain_text
a year ago
396 B
4
Indexable
#define ll long long #define pb push_back #include <bits/stdc++.h> using namespace std; vector<ll> binary(int n){ } void solve(){ ll n,k; cin>>n>>k; ll g=n/k; //i take the g which will work for(int i=1;i<=k;i++) cout<<g*i<<" "; cout<<"\n"; } signed main() { ios_base::sync_with_stdio(0); cin.tie(0);cout.tie(0); int t; cin>>t; while(t--) solve(); }
Editor is loading...
Leave a Comment