結果
問題 |
No.257 N言っちゃダメゲーム (3)
|
ユーザー |
|
提出日時 | 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 |
ソースコード
#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