結果
問題 |
No.836 じょうよ
|
ユーザー |
![]() |
提出日時 | 2019-06-15 13:00:38 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 9 ms / 1,000 ms |
コード長 | 301 bytes |
コンパイル時間 | 1,312 ms |
コンパイル使用メモリ | 158,672 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-18 07:37:35 |
合計ジャッジ時間 | 2,418 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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; }