結果
問題 |
No.836 じょうよ
|
ユーザー |
|
提出日時 | 2019-06-14 23:11:53 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 213 bytes |
コンパイル時間 | 1,672 ms |
コンパイル使用メモリ | 165,604 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-14 13:27:45 |
合計ジャッジ時間 | 3,138 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 40 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main() { long l, r, n; cin >> l >> r >> n; for(int i = 0; i < n; i++) { cout << (r - l) / n + (i == (r - l + 1) % n ? 1 : 0) << "\n"; } return 0; }