結果
問題 |
No.836 じょうよ
|
ユーザー |
![]() |
提出日時 | 2019-06-15 12:59:27 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 8 ms / 1,000 ms |
コード長 | 301 bytes |
コンパイル時間 | 1,025 ms |
コンパイル使用メモリ | 158,796 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-18 07:37:26 |
合計ジャッジ時間 | 2,642 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 41 |
ソースコード
#include<bits/stdc++.h> using namespace std; typedef long long ll; signed main() { cin.tie(0); ios::sync_with_stdio(false); ll l, r; int n; cin >> l >> r >> n; r++; for ( int i = 0; i < n; ++i ) { cout << (r / n + (i < (r % n))) - (l / n + (i < (l % n))) << '\n'; } return 0; }