結果

問題 No.257 N言っちゃダメゲーム (3)
ユーザー pluto77
提出日時 2016-09-16 08:45:01
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 198 bytes
コンパイル時間 582 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 25,616 KB
平均クエリ数 1.00
最終ジャッジ日時 2024-07-16 11:04:30
合計ジャッジ時間 4,101 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki_257

n,k=map(int,raw_input().split())
res=(n-1)%(k+1)
print res
sys.stdout.flush()
i=1
while True:
 temp=int(raw_input())
 if temp>=n:
  sys,exit()
 print res+(k+1)*i
 sys,stout.flush()
 i+=1
0