結果
問題 |
No.836 じょうよ
|
ユーザー |
|
提出日時 | 2019-06-14 21:30:30 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 232 bytes |
コンパイル時間 | 1,689 ms |
コンパイル使用メモリ | 165,316 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-08 20:34:20 |
合計ジャッジ時間 | 4,350 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 36 WA * 5 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int64_t L, R, N; cin >> L >> R >> N; for(int i=0; i<N; i++){ int64_t ans = 1 + (R-i)/N - (L-i-1+N)/N; cout << ans << endl; } return 0; }