結果
問題 |
No.257 N言っちゃダメゲーム (3)
|
ユーザー |
|
提出日時 | 2016-09-16 08:54:24 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 67 ms / 2,000 ms |
コード長 | 213 bytes |
コンパイル時間 | 213 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 25,544 KB |
平均クエリ数 | 3.70 |
最終ジャッジ日時 | 2024-07-17 00:25:49 |
合計ジャッジ時間 | 3,767 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 30 |
ソースコード
#yuki_257 import sys n,k=map(int,raw_input().split()) a=(n-1)%(k+1) print a sys.stdout.flush() i=1 while True: temp=int(raw_input()) if temp>=n: sys.exit() res=a+(k+1)*i print res sys.stdout.flush() i+=1