#include #include #include #include #define REP(i,a,n) for(ll i=a;i> l >> r >> n; vector anslist(n); ll fill = (r - l + 1)/n; ll left = (r - l + 1)%n; ll start = l%n; REP(i,0,n){ anslist[i]= fill; } REP(i,start,start+left){ anslist[i%n]++; } REP(i,0,n){ cout << anslist[i] << endl; } }