結果

問題 No.257 N言っちゃダメゲーム (3)
ユーザー lllllll88938494
提出日時 2023-05-08 20:25:07
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 177 bytes
コンパイル時間 341 ms
コンパイル使用メモリ 82,076 KB
実行使用メモリ 88,920 KB
平均クエリ数 0.30
最終ジャッジ日時 2024-11-25 10:10:05
合計ジャッジ時間 80,148 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 4 TLE * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k = map(int,input().split())
if (n + 1)%(k+1) == 0:
    print(0,flush=True)

t=int(input())

while t < n:
    a=(k+1)-t%(k+1)
    print(a,flush=True)
    t = int(input())
    
0