結果
問題 |
No.836 じょうよ
|
ユーザー |
|
提出日時 | 2020-03-20 18:45:45 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 356 bytes |
コンパイル時間 | 1,682 ms |
コンパイル使用メモリ | 165,372 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-14 13:47:11 |
合計ジャッジ時間 | 3,585 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 7 WA * 34 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = int64_t; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); ll l, r, n; cin >> l >> r >> n; for(int i = 0; i < n; ++i){ if(r % n == i){ cout << (r + n - l) / n << "\n"; } else{ cout << (r - l) / n << "\n"; } } }