#include #define PI 3.14159265359 using namespace std; int main() { int64_t l, r, n; cin >> l >> r >> n; vector v(n); int64_t x = r - l + 1; if (x >= n) { for (int64_t i = 0; i < n; i++) { v.at(i) += x / n; } } for (int64_t i = l + (x / n) * n; i <= r; i++) { v.at(i % n)++; } for (int64_t i = 0; i < v.size(); i++) { cout << v.at(i) << endl; } }